Comment 4 for bug 446510

Revision history for this message
Michael Zaugg (AOI) (it-oas) wrote :

* Is this reproducible?

Yes.

 * If so, what specific steps should we take to recreate this bug?
If you have a remote PDF file with relative links to an other file on the server, evince can not open it.

I investigated on this and it seems that evince can handle this properly if the file is opend directly (e.g. via shell # evince http://www.example.org/pathto/file.pdf).
But when open a pdf file via browser while surfing (in my case Firefox) it doesn't pass the url to evince but the path to the downloaded file. To fix this, the browser should only pass the url to the external application.

* Expected behaviour
As Adobe Reader BrowserPlugin: Render the pdf 'on the server'. Then the relative links to others documents on the server would work.
And: Do not open relative linked Documents in an new window, replace the existing document instead.

* Testcase
I've made a simple testcase with two files. Extract those into a local folder. Open Mainfile.pdf and click on the link. Second_file.pdf is (as expected) opend in an new window.
Now upload the files to a server and open Mainfile.pdf on the Server via Browser.