Socket
Socket
Sign inDemoInstall

ecstatic

Package Overview
Dependencies
Maintainers
2
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.7.5 to 0.7.6

3

ChangeLog.md

@@ -0,1 +1,4 @@

2015/05/09 Version 0.7.6
- Fix double encoding in directory listings
2015/05/07 Version 0.7.5

@@ -2,0 +5,0 @@ - Fix HTML reflection vulnerability in certain error handlers

4

lib/ecstatic/showdir.js

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

var isDir = file[1].isDirectory && file[1].isDirectory();
var href = encodeURI(
parsed.pathname.replace(/\/$/, '') +
'/' + file[0]);
var href = parsed.pathname.replace(/\/$/, '') + '/' + encodeURI(file[0]);

@@ -128,0 +126,0 @@ // append trailing slash and query for dir entry

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

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

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

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