@rip-lang/server 1.3.79 → 1.3.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/default.rip +1 -1
  2. package/package.json +1 -1
package/default.rip CHANGED
@@ -224,7 +224,7 @@ renderIndex = (reqPath, fsPath) ->
224
224
  # --- Request Handler ---
225
225
 
226
226
  notFound ->
227
- reqPath = @req.path
227
+ reqPath = try decodeURIComponent(@req.path) catch then @req.path
228
228
  path = resolve(root, reqPath.slice(1))
229
229
 
230
230
  unless path is root or path.startsWith(rootSlash)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rip-lang/server",
3
- "version": "1.3.79",
3
+ "version": "1.3.80",
4
4
  "description": "Pure Rip web framework and application server",
5
5
  "type": "module",
6
6
  "main": "api.rip",