@mitras2 said in Illegal character in host name - Android 4.0.4:
And third: Of course we can discuss about RFCs and specifications here but I initially thought this forum would be a place where everyone tries to solve some problems?
Well, before I solve a supposed problem, I’d like to know whether it actually is a problem. In my opinion, it doesn’t make sense to hack around randomly using a trial-and-error approach, or to create a dozen of new bugs by introducing non-standard-compliant behavior.
A simple override for the URI-Check would be a solution or a constant behavior on all Android-Plattforms would at least make things more predictible…
I don’t know how overriding an
UriSyntaxException could help, because such an URL wouldn’t be processed correctly at a later time.
However, if you know a working solution, please provide a patch, I’ll try to review it.