fengbaicanhe / flying-saucer

Automatically exported from code.google.com/p/flying-saucer
0 stars 0 forks source link

NaiveUserAgent and ITextUserAgent should not rely internally on java.net.URL to allow resource abstraction #237

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Flying saucer uses strings for uris in UserAgentCallback. This would normally 
allow transparent handling of custom uris like virtual:// to map "virtual" 
resources to real resources.

Unfortunately, the implementations NaiveUserAgent and ITextUserAgent internally 
heavily rely on java.net.URL which fails to resolve such uris if there's no 
system-wide UrlStreamHandler registered with this protocol.

Original issue reported on code.google.com by michael.wyraz on 4 Jul 2014 at 8:47

GoogleCodeExporter commented 8 years ago
This can be set to "fixed" as soon as 
https://github.com/flyingsaucerproject/flyingsaucer/pull/52 is accepted. Thank 
you!

Original comment by michael.wyraz on 21 Jul 2014 at 9:35