Opened 12 years ago
Closed 12 years ago
#414 closed enhancement (fixed)
FileProxy - possibility to view a file instead of downloading
Reported by: | belug | Owned by: | adube |
---|---|---|---|
Priority: | minor | Milestone: | 1.4.0 |
Component: | server | Version: | trunk |
Keywords: | view file proxy | Cc: | belug |
Description
The file proxy command download force the download of the file. But if it's a PDF only to consult live it would be nice to be able to add the command view.
Attachments (2)
Change History (5)
by , 12 years ago
Attachment: | fileProxy-view-414-1325-A1.diff added |
---|
comment:1 by , 12 years ago
by , 12 years ago
Attachment: | fileProxy-view-414-1325-A2.diff added |
---|
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r1326 with trivial comments modifications. Thanks for the patch.
Note:
See TracTickets
for help on using tickets.
Here's a patch to autodetect some of the files you could like to view inline and make the good headers to show it in the browser.
There's one thing with the patch, there's a tiny mini minor modification to the the file path before download. It replace the "\" by "/".
The thing is that linux servers only supprot "/" in file names but in windows it supports both. we had that modif for a long time, but since you are linux too now I tought about adding it by the same time. But if you'd like that I open a new ticket for it I'll do an other patch.