all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] Trivial fix for "%3f" in URL bug
@ 2010-03-17 10:53 Ivan Vilata i Balaguer
  2010-03-17 11:04 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Ivan Vilata i Balaguer @ 2010-03-17 10:53 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1.1: Type: text/plain, Size: 598 bytes --]

Hi all,

Regarding the previous thread “"%3f" shouldn't be unescaped in HTTP URLs”, I
suggested that leaving the '?' or '%3f' characters in a URL as provided by the
user might be the best thing to do, since they mean different things (query
separator and literal question mark, respectively) and the user should know
best (especially if the URL was copied from a browser).

Fixing the old behaviour is trivial: just remove the ``(?? . "%3F")`` entry
from the ``org-link-escape-chars`` list in ``org.el``.

Cheers,

::

  Ivan Vilata i Balaguer -- http://ivan.lovesgazpacho.net/

[-- Attachment #1.1.2: org.el.patch --]
[-- Type: text/x-diff, Size: 266 bytes --]

--- org.el.orig	2010-03-17 11:51:04.000000000 +0100
+++ org.el	2010-03-17 11:51:42.000000000 +0100
@@ -7877,7 +7877,6 @@
     (?\371 . "%F9")  ; `u
     (?\373 . "%FB")  ; ^u
     (?\;   . "%3B")
-    (??    . "%3F")
     (?=    . "%3D")
     (?+    . "%2B")
     )

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-19  7:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-17 10:53 [PATCH] Trivial fix for "%3f" in URL bug Ivan Vilata i Balaguer
2010-03-17 11:04 ` Carsten Dominik
2010-04-19  7:34   ` Ivan Vilata i Balaguer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.