Bug #561: 501 error after redirecting from paypal
Fix payment redirect issue
February 08, 2013
After redirect from payment site (doesn't matter what, e.g. paypal) we get 501 issue.
It seems the script didn't receive HTTP_REFER, and the prevent SCRF function blocks the request.