diff options
author | Anton Tananaev <anton@traccar.org> | 2024-06-01 13:44:30 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-06-01 13:44:30 -0700 |
commit | d83502ac2885c64a9d65a17e1573dedc9b0680d4 (patch) | |
tree | 85291a4babc47c4c3e0406ee6340e417e84f2a09 /src/main/java/org/traccar/config | |
parent | 20983b9549388f02c609fb91db82f171b0c4efee (diff) | |
download | trackermap-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.java | 8 |
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( |