#1803 closed defect (fixed)
trac link with subdirectory access
Reported by: | anonymous | Owned by: | Committo-Ergo-Sum |
---|---|---|---|
Priority: | normal | Component: | DoxygenPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
When I access a Doxygen Trac link which points to a file in a subdirectory, a 404 Not Found error occurs. There is an automatic transformation from a slash (/) to a backslash (\) wich causes the error (see error message).
[doxygen:directory/subdirectory/file] -> error
[doxygen:directory/file] -> works
Error message:
The requested URL /trac/myproject/doxygen/directory\subdirectory/file was not found on this server.
Direct access with a correct slash (/trac/myproject/doxygen/directory/directory/file) works.
Environment:
Webserver - Apache 2.0.59 + mod_python 3.3.1
Trac 0.10.4 + doxygen 0.4
Python 2.4.4
OS - Win 2003 Server
Attachments (0)
Change History (7)
comment:1 Changed 17 years ago by
comment:2 Changed 15 years ago by
I have the same problem.
I have inserted the following code in file doxygentrac.py
after the line 279:
doc=doc.replace('\\','/')
comment:3 Changed 15 years ago by
Can you try with the very latest version? This ticket looks like a duplicate of #5588, fixed today.
comment:6 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:7 Changed 9 years ago by
Owner: | changed from Christian Boos to Committo-Ergo-Sum |
---|
I can confirm this bug. I've also seen this come up using apache and python on windows (*not* using cygwin)