Hi (faster this time... 🙂
I currently have Pages 4.0.2 (751) and the problem is present. I'm pretty sure Keynote suffer of the same behavior. (I'll update to 4.0.3 later and will update this thread)
Let me state it again : Safari "correct" the bug by reverting the %23 to # when the URL is followed from Pages or from a PDF.
Every single other browser will not revert the URL, and the bug will be apparent if you use IE, Firefox or Chrome as you default browser. (And that's the vast majority of users, right ?)
The bug happens in exported PDF too : Pages preemptively transform a perfectly correct URL with # inside in a valid, but not identical at all, URL with %23 instead. So if you use the PDF on a Windows or Linux machine (or a mac where Safari is not the default browser) and click the link, you won't go where you are supposed to go.
(It's even worse on the PDF, because you have no way to find what the real URL if it's not in the text.)
I just tested it again. The link I pasted in Page, then activated manually in the inspector to be sure, is :
http://www.archive.org/stream/laplumedesoiseau00mont#page/65/mode/1up
In pages, it shows exactly like that in the inspector, but if you follow the link via the contextual menu for example, you can very briefly see that in fact the link passed to your default browser is :
http://www.archive.org/stream/laplumedesoiseau00mont%23page/65/mode/1up
If you export and then open a PDF with for example Smultron, you can find that your link is written in the PDF file as :
19 0 obj
(
http://www.archive.org/stream/laplumedesoiseau00mont%23page/65/mode/1up)
endobj
Bottom line : Pages takes the initiative to modify a perfectly valid URL. That lead to errors with every browser but Safari.
What should happen? Pages should let the URL intact, # being a reserved character in HTTP URLs.