aboutsummaryrefslogtreecommitdiff
path: root/p/ext.php
diff options
context:
space:
mode:
Diffstat (limited to 'p/ext.php')
-rw-r--r--p/ext.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/p/ext.php b/p/ext.php
index 788488b27..379dfc35b 100644
--- a/p/ext.php
+++ b/p/ext.php
@@ -95,8 +95,8 @@ function sendNotFoundResponse() {
die();
}
-if (!isset($_GET['f']) ||
- !isset($_GET['t'])) {
+if (!isset($_GET['f']) || !is_string($_GET['f']) ||
+ !isset($_GET['t']) || !is_string($_GET['t'])) {
sendBadRequestResponse('Query string is incomplete.');
}