Certain URLs do not work as expected


I apologize in advance if this is a FAQ or other known issue; I’ve tried searching for it here in the forums, but I’m not exactly sure how to search for it because it’s an odd sort of issue.

I use Scrivener 2.0.2 on Snow Leopard 10.6.5.

When I create a link with a URL that includes the ‘#’ character, that character gets converted to ‘%23’ when clicking it or when copying and pasting the text that includes the link. On at least some sites, that conversion causes the link to be invalid, and I wind up getting a 404 result.

Example of what I mean:


Let’s say that I create a link using that URL by highlighting some text, and doing Edit->Add Link… . If I later click that link, it attempts to pop the page up in Safari, but the URL it’s using isn’t what’s above. Instead, it’s this:


And with at least some sites, that effectively breaks the link.

Does that make sense? Can it be fixed? Thanks for your help.


Hmm, looks like the URL encoding is indeed being overly aggressive. I’ve confirmed this behaviour - it is wrong, certainly - and will look at it, and hopefully fix it, for 2.0.3.

Thanks for bringing it to my attention,

Great! Thanks Keith. I appreciate it.