jasperreports
jasperreports copied to clipboard
Adding support for Basic Authentication workflow
We ran into a bug in production where assets for reports weren't loading when a url in the form of http://{user}:{password}@www.myurl.com. According the RFC, this is a legal URL format and browsers such as chrome will automatically handle the addition of the request headers without intervention from the user. The current code doesn't send up any headers at all.
This PR will allow for the loading of objects where the URL is in the above form.
Can you provide a link to the RFC you mentioned?
Also, can you also provide some JRXML so that we can see in which expressions you are using this feature and what type of value the expression has?