botong

Results 6 comments of botong

@vietj Because the getPath method obtains the original data without encoding, for example: "http://exapmle/%E4%BD%A0%E5%A5%BD" If use getPath, the value is chinese "你好", but use getRawPath,the value is same location "/%E4%BD%A0%E5%A5%BD"

If the path is "你好", then it is illegal in HttpUrl

in [https://www.ietf.org/rfc/rfc1738.txt](https://www.ietf.org/rfc/rfc1738.txt) ![image](https://user-images.githubusercontent.com/40198505/85011611-58b8be80-b194-11ea-93f9-8e8cf02561ab.png)

The reason for the repeated redirect 301 is that its target server does not recognize the illegal path in the URL. So always Response 301

ISSUES 3456 Its target website address is : "https://apkcombo.com/천사티비-드라마-다시보기-tv/com.angelseries.angeltv/" Replace "천사티비-드라마-다시보기" with other illegal characters, for example: "https://apkcombo.com/你好-tv/com.angelseries.angeltv/" It will still redirect to https://apkcombo.com/천사티비-드라마-다시보기-tv/com.angelseries.angeltv/

Therefore, as long as we guarantee that the redirected URL is in the original point "Location", this will not happen