Redirect to raw format for PDF attachments

Description

Makes links to PDF attachments go directly to the raw file rather than the preview page (which doesn't actually preview the file).

Bugs/Feature Requests

Existing bugs and feature requests for PdfRedirectorPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out PdfRedirectorPlugin from here using Subversion, or browse the source with Trac.

Example

Upload a PDF and click on it. You'll be able to download it immediately instead of having to click through the preview page.

Recent Changes

[6430] by nicholasbs on 08/26/09 16:39:18

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

[6406] by nicholasbs on 08/21/09 16:46:15

Initial import of PDFRedirector

[6405] by nicholasbs on 08/21/09 16:43:16

New hack PdfRedirectorPlugin, created by nicholasbs

Author/Contributors

Developed at The Open Planning Project.

Author: nicholasbs
Contributors: k0s