Modify

Opened 7 years ago

Last modified 5 years ago

#1803 new defect

trac link with subdirectory access

Reported by: anonymous Owned by: cboos
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 (5)

comment:1 Changed 7 years ago by anonymous

I can confirm this bug. I've also seen this come up using apache and python on windows (*not* using cygwin)

comment:2 Changed 5 years ago by alecann

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 5 years ago by cboos

Can you try with the very latest version? This ticket looks like a duplicate of #5588, fixed today.

comment:4 Changed 5 years ago by anonymous

It's OK with the latest version.

comment:5 Changed 5 years ago by alecann

It's OK with the latest version

Add Comment

Modify Ticket

Action
as new The owner will remain cboos.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.