In my test web app, I have a option to store different types of documents. Lets say something similar to Drive or Dropbox. User can preview each docs with urls like ..
The above URL is invalid !!! and pdf-viewer fails to load the file content.
I did some debugging in code, the "this.originalUrl_" value ( on some src file ) is set as "https://my.app.com/previewPDF?userID=234". Only the first query string param is used, the other params are lost !! Hence the server responds with error.
In my test web app, I have a option to store different types of documents. Lets say something similar to Drive or Dropbox. User can preview each docs with urls like ..
Once the pdf-viewer plugin finds out it's a pdf, it tries to load preview for the file like the below ...
The above URL is invalid !!! and pdf-viewer fails to load the file content.
I did some debugging in code, the "this.originalUrl_" value ( on some src file ) is set as "https://my.app.com/previewPDF?userID=234". Only the first query string param is used, the other params are lost !! Hence the server responds with error.
Please help.