|
@@ -68,7 +68,7 @@ class BridgeFilter(private val template: SimpMessagingTemplate, val resourceLoad
|
|
val client = splitPath[1]
|
|
val client = splitPath[1]
|
|
val toPath = "/" + splitPath.takeLast(splitPath.size - 1).joinToString("/")
|
|
val toPath = "/" + splitPath.takeLast(splitPath.size - 1).joinToString("/")
|
|
val clientNumber = client.toIntOrNull()
|
|
val clientNumber = client.toIntOrNull()
|
|
- if (clientNumber != null && clientNumber > 0 && clientNumber <= 999) {
|
|
|
|
|
|
+ if (clientNumber != null && clientNumber > 0 && clientNumber <= 99999) {
|
|
val search = isResourceAvailable(toPath)
|
|
val search = isResourceAvailable(toPath)
|
|
if (search != null && !search.endsWith("assets/bootstrap.js")) {
|
|
if (search != null && !search.endsWith("assets/bootstrap.js")) {
|
|
res.sendRedirect("/resources/$search")
|
|
res.sendRedirect("/resources/$search")
|