aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-06-01 13:44:30 -0700
committerAnton Tananaev <anton@traccar.org>2024-06-01 13:44:30 -0700
commitd83502ac2885c64a9d65a17e1573dedc9b0680d4 (patch)
tree85291a4babc47c4c3e0406ee6340e417e84f2a09 /src/main/java/org/traccar/config
parent20983b9549388f02c609fb91db82f171b0c4efee (diff)
downloadtrackermap-server-d83502ac2885c64a9d65a17e1573dedc9b0680d4.tar.gz
trackermap-server-d83502ac2885c64a9d65a17e1573dedc9b0680d4.tar.bz2
trackermap-server-d83502ac2885c64a9d65a17e1573dedc9b0680d4.zip
Remove sanitization option
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r--src/main/java/org/traccar/config/Keys.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index 5d9a43c01..91d5dac5d 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -775,14 +775,6 @@ public final class Keys {
600);
/**
- * Sanitize all strings returned via API. This is needed to fix XSS issues in the old web interface. New React-based
- * interface doesn't require this.
- */
- public static final ConfigKey<Boolean> WEB_SANITIZE = new BooleanConfigKey(
- "web.sanitize",
- List.of(KeyType.CONFIG));
-
- /**
* Path to the web app folder.
*/
public static final ConfigKey<String> WEB_PATH = new StringConfigKey(