SA Bugzilla – Bug 8109
DecodeShortURLs should support refresh header
Last modified: 2023-01-20 13:54:30 UTC
DecodeShortURLs will already parse the location header, which is expected. However, some redirectors will instead use the refresh header, which will work well in a browser, but not so much with the plugin. One example of this is the marketing redirector public.heyloyalty.com, frequently seen in newsletters. It will return a 302, but only with a refresh header, no location header. Example response: refresh: 0; url=http://example.com/ (Original and target URLs omitted for privacy reasons) It would be nice if the plugin was able to also parse, process and follow this.