Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#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 daniel.kulesz, 17 years ago

sorry the %20 in the posting were not intended. Here's the correct "non-working" URL:

http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html#String(char[], int, int)

comment:2 by Christian Boos, 17 years ago

Resolution: worksforme
Status: newclosed

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:

comment:3 by daniel.kulesz, 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.

comment:4 by Christian Boos, 17 years ago

I don't think it was a FAQ, so no worries ;-)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.