#7190 closed defect (worksforme)
Blanks in URL after Hash are not working
Reported by: | daniel.kulesz | Owned by: | Christian Boos |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | wiki system | Version: | 0.11b2 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I have encountered the problem that the Wiki System breaks URLs from the moment on it encounters a blank - but sometimes it is needed to link using a blank after a hash (i.e. when linking to some JavaDOC URL). Here's an example:
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html#String(char[],%20int,%20int)
I checked #6375 which somehow does the contrary for attachments - inserting a %2520 for blanks in filenames. But in the case presented before the blank is correct, since it's intented to be processed by the browser and not the webserver - the webserver gets passed the URL without the contents after the hash.
Attachments (0)
Change History (4)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
http:"//java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html#String(char[], int, int)"
Well, I know it's a bit odd, but that's:
- consistent (see TracLinks#QuotingspaceinTracLinks)
- changes in this area are very hard to get right and likely to trigger a bunch of unwanted side-effects
comment:3 by , 17 years ago
thanks a lot for the pointer and sorry for opening this ticket - I searched before but didn't step across this specific FAQ.
sorry the %20 in the posting were not intended. Here's the correct "non-working" URL: