View Ticket
Not logged in
Ticket UUID: 724d7b74311f9b99dc5e892d57d505d7a35ac506
Title: Documentation access URL changes space in "_"
Status: Closed Type: Incident
Severity: Minor Priority:
Subsystem: Resolution: Not_A_Bug
Last Modified: 2012-11-08 18:45:10
Version Found In: 9e0da27437
Description & Comments:
The documentation pages of tclws are at: http://core.tcl.tk/tclws/doc/tip/docs/index.html.

The file names of all subpages contain spaces.

When accessing them (for example by http://core.tcl.tk/tclws/doc/tip/docs/Embedded%20Web%20Service.html ) the spaces (%20 in the URL) are turned to "_" and not found (at least this is what the error page reports).

Is there any way to access those files containing spaces or do we have to rename the files?

Thank you, Harald


drh added on 2012-11-08 18:45:10 UTC:
The problem reported above has nothing to do with Fossil. The web server at core.tcl.tk does not allow characters other than alphanumerics and underscores in the URL pathname. It converts any such characters into an underscore. This is a security measure that defines a host of nefarious attacks against websites.

Work around the security restrictions on the web server by changing the document name to a query parameters:

http://core.tcl.tk/tclws/doc?name=tip/docs/Calling+a+Web+Service.html