Commit 5206a7ff by Scott

Fix redirects in direct-access prevention

parent 16248e8e
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -56,7 +56,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -21,7 +21,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
......@@ -20,7 +20,7 @@
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
header('Location: ../../');
exit;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment