You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rather than throwing an exception when converting http://host/%xx to a java.net.URI, OkHttp should just convert it to http://host/%25xx which is a reasonable alternative.
The text was updated successfully, but these errors were encountered:
This was originally commited to AOSP as 3281dee
The upstream commit was part of OkHttp 3.0 but not 2.7.5.
Previous commit message:
Manually reapplied change from upstream to address HttpUrl encoding issues.
This change did not apply cleanly. Upstream FormEncodingBuilder has
been refactored. Equivalent changes have been made.
Upstream details:
Comment:
Never throw converting an HttpUrl to a java.net.URI.
Just do arbitrary amounts of transformation. Sigh.
Closessquare/okhttp#2116
SHA: d77edcc8905148f18a691be180c4f8f366a5ee1b
Change-Id: I588e8906c22d2db565e4582a454fa5894071feae
cm-gerrit
pushed a commit
to CyanogenMod/android_external_okhttp
that referenced
this issue
Aug 24, 2016
Manually reapplied change from upstream to address HttpUrl encoding issues.
This change did not apply cleanly. Upstream FormEncodingBuilder has
been refactored. Equivalent changes have been made.
Upstream details:
Comment:
Never throw converting an HttpUrl to a java.net.URI.
Just do arbitrary amounts of transformation. Sigh.
Closessquare/okhttp#2116
SHA: d77edcc8905148f18a691be180c4f8f366a5ee1b
Bug: 27590872
Change-Id: Ia12df5dc95c1681c67552b2c7725393508f52c0e
Rather than throwing an exception when converting
http://host/%xx
to a java.net.URI, OkHttp should just convert it tohttp://host/%25xx
which is a reasonable alternative.The text was updated successfully, but these errors were encountered: