jasperreports icon indicating copy to clipboard operation
jasperreports copied to clipboard

Adding support for Basic Authentication workflow

Open calsocrates opened this issue 8 years ago • 2 comments

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.

calsocrates avatar Aug 09 '17 18:08 calsocrates

Can you provide a link to the RFC you mentioned?

teodord avatar Jul 07 '20 13:07 teodord

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?

teodord avatar Jul 07 '20 19:07 teodord