I would like to show a PDF in an application embedded in a WebView. It works fine until I would like to use get parameters in the URL.
So for example this works well:
But as soon as I put a get parameter in the given URL which I cannot show for security reasons, it doesn't work, for example:
Downloading and showing then deleting the pdf is not an option since the business model of the given application. Since the information in the given PDFs is sensitive. I must show an embedded PDF from a URL and no matter where I search I only found this solution, Google's drive embed which is horrible from many points of view but the worst is that it doesn't handle well GET params.
Any tips?
EDIT 1:
I tried URL encoding. Same result in Android's WebView. And I experience the same WITHOUT encoding in PC browsers do I don't think the problem is with encoding or is it?

You should URL encode every parameter. You can't add ? like you did