# in URLs of Hyperlinks in Hyperlinks panel is substituted with %23 when opened in browser from panel
Hi together,
when working with hyperlinks with URL destination an URL like:
https://wiki.selfhtml.org/wiki/HTML/Elemente/a#Siehe_auch
will not be transferred to the browser as is when the menu command "Go to Destination" is used or if the "green" bullet in the panel is clicked that indicates a correct and connectable hyperlink destination.
Instead character # will be substituted with %23 like that:
https://wiki.selfhtml.org/wiki/HTML/Elemente/a%23Siehe_auch
The implication could be two-fold:
[1] The browser could show an 404 error
[2] The browser could not navigate to the named anchor and the view of the page is showing the top part of the page.
The URL above will show error [2].
This URL will show a 404 error:
https://www.histaminintoleranz.ch/en/symptoms.html#zusammenfassung
For the first error, the 404, I included screenshots and a sample InDesign document from InDesign 2023:
Here the correct destination when the URL is copied to the browser:
URL-CopiedToBrowser-CorrectPageView.png
Hyperlinks panel showing the command "Go to Destination" in my German InDesign 2023:
GoToURLinInDesign_Hyperlinks-Panel.png
Result is this 404 error in the browser:
GoToURLinInDesign_404-Error.png
Test document where the hyperlink is attached to a rectangle:
URLWith#ShowsAs%23Example-2CC-2023.indd
FWIW: Due to restrictions of the UserVoice forum software the InDesign document could not be attached to this bug report. Instead I zipped it and tried to attach the zip file. Also this failed. So I added a *.txt to the file name:
URLWith#ShowsAs%23Example-2CC-2023.indd.zip.txt
Regards,
Uwe Laubender
( Adobe Community Expert )
-
Adrian Tordis commented
I have a similar problem! It's very unpleasant. I advise you to change the angle of attention with https://slotamia.com/3d-slots ! By the way, when you find ways to solve the bug, let me know.
-
DebraWilson commented
Any progress? It is kinda irritating. I am a gamer and I play casino professionally, if you are from Belgian, then you can dive into the heart of Belgian gaming with https://casinosanalyzer.com/online-casinos/belgium-bel as your compass! The online casino list there, haven is a treasure trove of diverse options and exclusive bonuses. Each Belgian casino tells a unique story, promising an unforgettable gaming adventure. Ready to explore and uncover the Belgian gaming secrets?
-
Uwe Laubender commented
The same results on Windows.
All versions of InDesign between CS6 and InDesign CC 2021 have no issue with the # character in the Hyperlinks panel.
Windows version of InDesign 2022 > BUG: # is substituted with %23
Windows version of InDesign 2023 > BUG: # is substituted with %23Regards,
Uwe Laubender
( Adobe Community Expert ) -
Uwe Laubender commented
Did some tests on macOS with several versions of InDesign:
InDesign 2019 > OK: # remains #
InDesign 2020 > OK: # remains #
InDesign 2021 > OK: # remains #InDesign 2022 > BUG: # is substituted with %23
InDesign 2023 > BUG: # is substituted with %23Regards,
Uwe Laubender
( Adobe Community Expert ) -
Uwe Laubender commented
Another note on the issue:
This is a CRITICAL bug.Users should be able to test correct URLs from the Hyperlinks panel as soon as the "green light" indicates that InDesign sees no issue.
Yet another important note for every ExtendScript scripter:
Method
hyperlink.showDestination()
will get the same wrong result.However, exporting a page to PDF with the hyperlink included will not change the # in the URL.
Regards,
Uwe Laubender
( Adobe Community Expert )