anyfesto icon indicating copy to clipboard operation
anyfesto copied to clipboard

Redirection problem with some sites

Open yeyeto2788 opened this issue 8 years ago • 3 comments
trafficstars

Hey @tomhiggins.

After successfully installing Anyfesto there are some pages that are not redirected to the main page.

URL Redirect Error
http://www.google.com Yes None
http://www.raspberry.org Yes None
http://www.raspberry.org/blog/ No Cannot connect
http://www.instructables.com/category/technology/ No 404 - not found
https://www.thingiverse.com No Cannot connect

I guess this is an issue with the captive portal where the regex does not take into account https and the end of an URL.

I guess we might need to change this into something like \b.*(?<![0-9])

You can check if it works in here: (https://regex101.com/)[https://regex101.com/]

URLs that I use to test:

www.demo.com
http://foo.co.uk/
http://regexr.com/foo.html?q=bar
https://mediatemple.net/
http:10.99.11.1:19485
https://www.mediatemple.net/
google.com

Regards.

yeyeto2788 avatar Sep 01 '17 12:09 yeyeto2788

Hey there!

Have you been able to reproduce the error?

Regards.

yeyeto2788 avatar Sep 21 '17 08:09 yeyeto2788

I will try to get to it soon. Life has been keeping off the dev and debug, but I will try to get this on the ToDo stack Thanks for you patience.

tomhiggins avatar Oct 14 '17 21:10 tomhiggins

No problem, just trying to help :)

If you need any other information or anything I can do just let me know. Best regards.

yeyeto2788 avatar Oct 17 '17 08:10 yeyeto2788