Since redirect header Location: does not begin with protocol:// (like https://), it is assumed to be local file (with relative path in current directory) residing on same web server (your mobile phone). The result is that your web browser enters infinite redirect loop...
the problem seems to be the "%3A%2F%2F" stuff instead of "://"
The above commit should fix this because it does not encode URLs starting with "http" again.
Should I add it to the open PR?
Since redirect header
Location:
does not begin withprotocol://
(likehttps://
), it is assumed to be local file (with relative path in current directory) residing on same web server (your mobile phone). The result is that your web browser enters infinite redirect loop...version is 2.0.8 from f-droid (latest, as newer ones cannot be built due to https://github.com/marcosdiez/shareviahttp/issues/56)
for example, sharing URL from mobile phone web browser results is: