summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend.php b/backend.php
index 93199e43e..e9ecec31e 100644
--- a/backend.php
+++ b/backend.php
@@ -2201,6 +2201,10 @@
}
}
+ // We need to accept raw SQL data in label queries, so not everything is escaped
+ // here, this is by design. If you don't like the whole idea, disable labels
+ // altogether with GLOBAL_ENABLE_LABELS = false
+
if ($op == "pref-labels") {
if (!GLOBAL_ENABLE_LABELS) {