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

koa

Package Overview
Dependencies
Maintainers
5
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa - npm Package Compare versions

Comparing version 2.8.1 to 2.8.2

10

History.md
2.8.2 / 2019-09-28
==================
**fixes**
* [[`54e8fab`](http://github.com/koajs/koa/commit/54e8fab3e3d907bbb264caf3e28a24773d0d6fdb)] - fix: encode redirect url if not already encoded (#1384) (fengmk2 <<fengmk2@gmail.com>>)
**others**
* [[`817b498`](http://github.com/koajs/koa/commit/817b49830571b45a8aec6b1fc1525434f5798c58)] - test: fix body test (#1375) (Robert Nagy <<ronagy@icloud.com>>)
* [[`f75d445`](http://github.com/koajs/koa/commit/f75d4455359ecdf30eeb676e2c7f31d4cf7b42ed)] - test: fix end after end (#1374) (Robert Nagy <<ronagy@icloud.com>>)
2.8.1 / 2019-08-19

@@ -3,0 +13,0 @@ ==================

3

lib/response.js

@@ -22,2 +22,3 @@

const util = require('util');
const encodeUrl = require('encodeurl');

@@ -264,3 +265,3 @@ /**

if ('back' == url) url = this.ctx.get('Referrer') || alt || '/';
this.set('Location', url);
this.set('Location', encodeUrl(url));

@@ -267,0 +268,0 @@ // status

{
"name": "koa",
"version": "2.8.1",
"version": "2.8.2",
"description": "Koa web app framework",

@@ -34,2 +34,3 @@ "main": "lib/application.js",

"destroy": "^1.0.4",
"encodeurl": "^1.0.2",
"error-inject": "^1.0.0",

@@ -36,0 +37,0 @@ "escape-html": "^1.0.3",

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