3x-ui/web/entity
MHSanaei a08bb91f58
fix(settings): reject spaces, '\' and control chars in URI path settings
webBasePath, subPath, subJsonPath and subClashPath are URL paths, so '/'
stays allowed, but spaces, backslashes and control characters break
routing. Strip them as you type (shared sanitizePath helper, now also
applied to the panel base path) and reject them on save in
AllSetting.CheckValid so direct API callers are covered too.
2026-05-30 23:29:08 +02:00
..
entity.go fix(settings): reject spaces, '\' and control chars in URI path settings 2026-05-30 23:29:08 +02:00
path_validation_test.go fix(settings): reject spaces, '\' and control chars in URI path settings 2026-05-30 23:29:08 +02:00