Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF Viewer fails with GET parameters in url #22

Open
MarZab opened this issue Jul 12, 2017 · 6 comments
Open

PDF Viewer fails with GET parameters in url #22

MarZab opened this issue Jul 12, 2017 · 6 comments

Comments

@MarZab
Copy link

MarZab commented Jul 12, 2017

Looks like the new electon built in pdf viewer works great but there is a issue with loading pdf's with GET parameters.

Looking at the dev tools I can see the URL of the pdf gets cut off at the first &.

for https://domain.com/printPDF.php?CID=23323&PID=12412

<embed id="plugin" type="application/x-google-chrome-pdf" src="https://domain.com/printPDF.php?CID=23323" stream-url="blob:chrome://pdf-viewer/524829d4-578d-4bcf-866d-fe608bd4fac8" .. snip .. >

@qazbnm456
Copy link
Member

@MarZab Hi, there. Thanks for reporting this. Would you mind providing a valid link again that reproduces the issue? Since the link you provided is not accessible.

@MarZab
Copy link
Author

MarZab commented Jul 13, 2017

for example

http://digitalcommons.unl.edu/cgi/viewcontent.cgi?article=1118&context=podimproveacad

screen shot 2017-07-13 at 16 41 07

@qazbnm456
Copy link
Member

qazbnm456 commented Jul 13, 2017

@MarZab Thank you! The link does reproduce the issue, and I can confirm that this issue is related to PDFView's implementation side in Electron. I'll see if I can propose a PR to fix this. Good catch, though.

@qazbnm456
Copy link
Member

@MarZab I've proposed the PR, and here is the link if you are interested in following up the PR.

@MarZab
Copy link
Author

MarZab commented Jul 14, 2017

Great job! Looks like I misjudged the source of that bug :)

@qazbnm456
Copy link
Member

qazbnm456 commented Aug 4, 2017

electron/electron#10008 has been merged and this issue will be closed once the next release of Lulumi comes out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants