Fossil SCM
Documentation access URL changes space in "_"
724d7b74311f9b9…
· opened 13 years, 5 months ago
- Type
- Incident
- Priority
- —
- Severity
- Minor
- Resolution
- Not_A_Bug
- Subsystem
- —
- Created
- Nov. 8, 2012 4:42 p.m.
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]