Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#5723 closed defect (fixed)

Link to PDF file does not work if the filename contains "non-URL-allowed" characters

Reported by: rene.martin.tudyka@… Owned by: Nicholas Bergson-Shilcock
Priority: normal Component: PdfRedirectorPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

If I add an PDF attachment to a wiki page whose name contains characters that are not "allowed" in an URL (means: that have to be URL encoded), then the download link created by the PdfRedirectorPlugin won't work.

Example:

  • Filename of the PDF: "IDesign C# Coding Standard 2.32.pdf"
  • Link generated by PdfRedirectorPlugin: http://<mytrac>/attachment/wiki/WikiStart/IDesign C# Coding Standard 2.32.pdf
  • Link generated on the Trac preview page: http://<mytrac>/attachment/wiki/WikiStart/IDesign%20C%23%20Coding%20Standard%202.32.pdf

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by Nicholas Bergson-Shilcock

Resolution: fixed
Status: newclosed

(In [6430]) Fix #5723 (link to PDF doesn't work if filename contains non-URL allowed characters)

comment:2 Changed 7 years ago by Nicholas Bergson-Shilcock

Thanks for the clear bug report. This should be fixed in r6430.

Modify Ticket

Action
as closed The owner will remain Nicholas Bergson-Shilcock.
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.