Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ecstatic

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ecstatic - npm Package Compare versions

Comparing version 0.4.7 to 0.4.8

test/public/subdir_with space/index.html

2

lib/ecstatic/showdir.js

@@ -105,3 +105,3 @@ var ecstatic = require('../ecstatic'),

html += '<tr><td><code>(' + perms(file[1]) + ')</code> <a href="'
+ ent.encode(encodeURI(
+ ent.encode(decodeURI(
req.url.replace(/\/$/, '')

@@ -108,0 +108,0 @@ + '/'

@@ -5,3 +5,3 @@ {

"description": "A simple static file server middleware that works with both Express and Flatiron",
"version": "0.4.7",
"version": "0.4.8",
"homepage": "https://github.com/jesusabdullah/node-ecstatic",

@@ -8,0 +8,0 @@ "repository": {

@@ -73,2 +73,11 @@ var test = require('tap').test,

code: 200
},
'subdir_with space' : {
code: 302,
location: 'subdir_with space/'
},
'subdir_with space/index.html' : {
code: 200,
type: 'text/html',
body: 'index :)\n'
}

@@ -75,0 +84,0 @@ };

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc