Modify

Opened 17 years ago

Closed 8 years ago

Last modified 8 years ago

#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 16 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 15 years ago by Arnaud LE CANN

I have the same problem.

I have inserted the following code in file doxygentrac.py after the line 279:

doc=doc.replace('
','/')

Version 0, edited 15 years ago by Arnaud LE CANN (next)

comment:3 Changed 15 years ago by Christian Boos

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

comment:4 Changed 15 years ago by anonymous

It's OK with the latest version.

comment:5 Changed 15 years ago by Arnaud LE CANN

It's OK with the latest version

comment:6 Changed 8 years ago by Committo-Ergo-Sum

Resolution: fixed
Status: newclosed

comment:7 Changed 8 years ago by Ryan J Ollos

Owner: changed from Christian Boos to Committo-Ergo-Sum

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Committo-Ergo-Sum.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.