SA Bugzilla – Bug 8111
DecodeShortURLs should support meta refresh
Last modified: 2023-01-22 02:37:39 UTC
Some shorteners seem to not use HTTP headers for redirection at all (at least under certain circumstances, see bug #8110), but rather meta refresh in body. While this would obviously be trickier to support in DecodeShortURLs, it would be sweet if it was possible. Example seen in spam (when using default spoofed browser UA, again see bug #8110), originally leading to a phishing page: https://t.co/QXabAdmraO Honorable mention also goes to JS methods like window.location, location.reload, and any others I haven't thought of. Would probably be possible to regex all of these, rather than involve complex parsing libs, though the latter is of course also possible.