Package: org-mode
Version: 6.34c-4
Severity: minor

(This is related to my second post in bug #572404.)

Some HTTP URLs have literal '?' in them.  Since '?' also separates the path
from query arguments, it needs to be escaped in the first case.  These are
examples of the two cases:

- http://en.wikipedia.org/wiki/Who%27s_Afraid_of_Virginia_Woolf%3F (literal '?')
- http://www.google.com/search?q=org+mode (query separator)

These are the URLs generated by Org mode when exporting them to HTML:

- http://en.wikipedia.org/wiki/Who%27s_Afraid_of_Virginia_Woolf?
- http://www.google.com/search?q=org+mode

I.e. '?' is left as is, but '%3f' is unescaped, producing the wrong URL (don't
be fooled by the fact that Wikipedia actually accepts it ;) ).  This makes
impossible to correctly export an HTTP URL with a literal question mark in it.

The solution would be to leave '%3f' as is, too, in the same way as '%27' has
been left as is in the previous example.

Thanks.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages org-mode depends on:
ii  dpkg                      1.15.5.6       Debian package management system
ii  emacs22                   22.3+1-1.2     The GNU Emacs editor
ii  emacs23                   23.1+1-6       The GNU Emacs editor (with GTK+ us
ii  install-info              4.13a.dfsg.1-5 Manage installed documentation in 

org-mode recommends no packages.

Versions of packages org-mode suggests:
pn  easypg                        <none>     (no description available)
ii  remember-el                   1.9-1.1    remember text within Emacs

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to