Open simoncozens opened 2 weeks ago
403 is HTTP Error: Forbidden. Are you sure this is used for redirects? I have never heard of that and it does not sound right to me.
Is this specific site generating an invalid HTTP code?
Or, if this is actually a common practice, then how would we distinguish it from actual "error forbidden" pages?
I misdiagnosed this.
In the browser, https://scriptsource.org/scr/Ital gives a redirect, but from a requests
request, it gives a 403. We need to be better at faking being a browser...
Observed behaviour
Expected behaviour
A 403 is fine because it is often used to redirect a "friendly" URL (like the one above) to another URL in the CMS (in this case
https://scriptsource.org/cms/scripts/page.php?item_id=script_detail&key=Ital
).Also it shouldn't say farticle.