* http link character mistranslated
@ 2014-02-25 15:40 mirko
2014-03-03 6:53 ` Daimrod
0 siblings, 1 reply; 3+ messages in thread
From: mirko @ 2014-02-25 15:40 UTC (permalink / raw)
To: emacs-orgmode
Hi,
(Org-mode version 8.2.5h (release_8.2.5h-651-g897b60)
I have an https address with an equal sign `=':
https://forums.virtualbox.org/viewforum.php?f=3
When I try to access the link, the `=' is translated as `%D':
https://forums.virtualbox.org/viewforum.php?f%3D3
I looked in org-open-at-point, and the translation appears somewhere in
org-element-property. I did not look deeper.
I tested this in an Emacs session with only org mode loaded (no user init)
Thanks,
Mirko
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: http link character mistranslated
2014-02-25 15:40 http link character mistranslated mirko
@ 2014-03-03 6:53 ` Daimrod
2014-03-04 0:34 ` Daimrod
0 siblings, 1 reply; 3+ messages in thread
From: Daimrod @ 2014-03-03 6:53 UTC (permalink / raw)
To: emacs-orgmode
mirko <mirko.vukovic@gmail.com> writes:
> Hi,
Hello,
> (Org-mode version 8.2.5h (release_8.2.5h-651-g897b60)
>
> I have an https address with an equal sign `=':
> https://forums.virtualbox.org/viewforum.php?f=3
>
> When I try to access the link, the `=' is translated as `%D':
> https://forums.virtualbox.org/viewforum.php?f%3D3
I have the same problem here. It causes problem with docview and gnus
links.
> I looked in org-open-at-point, and the translation appears somewhere in
> org-element-property. I did not look deeper.
IIUC, since I don't know when, org-mode encode links with percent
encoding (you can check it by turning off org-mode (e.g. M-x
fundamental-mode)).
My guess is that it is now the job of the link handler (FOLLOW arg in
org-add-link-type) to unescape the path if necessary, but I'm not sure
of it.
> I tested this in an Emacs session with only org mode loaded (no user init)
>
> Thanks,
>
> Mirko
>
>
--
Daimrod/Greg
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: http link character mistranslated
2014-03-03 6:53 ` Daimrod
@ 2014-03-04 0:34 ` Daimrod
0 siblings, 0 replies; 3+ messages in thread
From: Daimrod @ 2014-03-04 0:34 UTC (permalink / raw)
To: emacs-orgmode
Daimrod <daimrod@gmail.com> writes:
Fixed by ngz in commit 567ec87
> mirko <mirko.vukovic@gmail.com> writes:
>
>> Hi,
>
> Hello,
>
>> (Org-mode version 8.2.5h (release_8.2.5h-651-g897b60)
>>
>> I have an https address with an equal sign `=':
>> https://forums.virtualbox.org/viewforum.php?f=3
>>
>> When I try to access the link, the `=' is translated as `%D':
>> https://forums.virtualbox.org/viewforum.php?f%3D3
>
> I have the same problem here. It causes problem with docview and gnus
> links.
>
>> I looked in org-open-at-point, and the translation appears somewhere in
>> org-element-property. I did not look deeper.
>
> IIUC, since I don't know when, org-mode encode links with percent
> encoding (you can check it by turning off org-mode (e.g. M-x
> fundamental-mode)).
>
> My guess is that it is now the job of the link handler (FOLLOW arg in
> org-add-link-type) to unescape the path if necessary, but I'm not sure
> of it.
>
>> I tested this in an Emacs session with only org mode loaded (no user init)
>>
>> Thanks,
>>
>> Mirko
>>
>>
--
Daimrod/Greg
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-03-04 0:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-25 15:40 http link character mistranslated mirko
2014-03-03 6:53 ` Daimrod
2014-03-04 0:34 ` Daimrod
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).