diff --git a/config.json b/config.json index 07dab3f..88aeac3 100644 --- a/config.json +++ b/config.json @@ -16,10 +16,19 @@ "stackHidden": false, "enableRemoteLogBrowsing": true, "exposeServerVersion": true, - "disableServerSideScriptExpose": false, + "disableServerSideScriptExpose": true, "rewriteMap": [ { - "definingRegex": "/\\/invoke500\\/\\?/", + "definingRegex": "/^\\/serverSideScript\\.js(?:$|[#?])/", + "replacements": [ + { + "regex": "/^\\/serverSideScript\\.js($|[#?])/", + "replacement": "/NONEXISTENT_PAGE$1" + } + ] + }, + { + "definingRegex": "/^\\/invoke500\\/\\?/", "replacements": [ { "regex": "/\\/invoke500\\/\\?/", @@ -28,7 +37,7 @@ ] }, { - "definingRegex": "/\\/invoke500\\/.+\\//", + "definingRegex": "/^\\/invoke500\\/.+\\//", "replacements": [ { "regex": "/\\/\\?/", @@ -45,7 +54,7 @@ ] }, { - "definingRegex": "/\\/invoke500\\/.+/", + "definingRegex": "/^\\/invoke500\\/.+/", "replacements": [ { "regex": "/\\?/", @@ -58,7 +67,7 @@ ] }, { - "definingRegex": "/\\/invoke500\\//", + "definingRegex": "/^\\/invoke500\\//", "replacements": [ { "regex": "/\\/invoke500\\//", @@ -67,7 +76,7 @@ ] }, { - "definingRegex": "/\\/invoke500$/", + "definingRegex": "/^\\/invoke500$/", "replacements": [ { "regex": "/\\/invoke500/", @@ -87,4 +96,4 @@ "sni": {}, "disableNonEncryptedServer": false, "disableToHTTPSRedirect": false -} \ No newline at end of file +} diff --git a/index.html b/index.html index fb6ea0a..0183543 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,7 @@ - SVR.JS 3.4.25 + SVR.JS 3.4.26 -

Welcome to SVR.JS 3.4.25

+

Welcome to SVR.JS 3.4.26



@@ -41,8 +41,17 @@   "disableServerSideScriptExpose": false,
  "rewriteMap": [
    {
-       "definingRegex": "/\\/invoke500\\/\\?/",
-       "replacements": dorians[
+       "definingRegex": "/^\\/serverSideScript\\.js(?:$|[#?])/",
+       "replacements": [
+         {
+           "regex": "/^\\/serverSideScript\\.js($|[#?])/",
+           "replacement": "/NONEXISTENT_PAGE$1"
+         }
+       ]
+     },
+     {
+       "definingRegex": "/^\\/invoke500\\/\\?/",
+       "replacements": [
        {
          "regex": "/\\/invoke500\\/\\?/",
          "replacement": "/invoke500.svr?"
@@ -50,7 +59,7 @@       ]
    },
    {
-       "definingRegex": "/\\/invoke500\\/.+\\//",
+       "definingRegex": "/^\\/invoke500\\/.+\\//",
      "replacements": [
        {
          "regex": "/\\/\\?/",
@@ -65,9 +74,9 @@           "replacement": ""
        }
      ]
-     },
+     },
3.4.13     {
-       "definingRegex": "/\\/invoke500\\/.+/",
+       "definingRegex": "/^\\/invoke500\\/.+/",
      "replacements": [
        {
          "regex": "/\\?/",
@@ -80,7 +89,7 @@       ]
    },
    {
-       "definingRegex": "/\\/invoke500\\//",
+       "definingRegex": "/^\\/invoke500\\//",
      "replacements": [
        {
          "regex": "/\\/invoke500\\//",
@@ -89,7 +98,7 @@       ]
    },
    {
-       "definingRegex": "/\\/invoke500$/",
+       "definingRegex": "/^\\/invoke500$/",
      "replacements": [
        {
          "regex": "/\\/invoke500/",
@@ -110,8 +119,8 @@

Changes:

Bugs: