Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 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: nicholasbs
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 5 years ago by nicholasbs

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:2 Changed 5 years ago by nicholasbs

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.