mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-05-10 14:58:27 +00:00
bugfix for intercepting some https url
This commit is contained in:
parent
decb42222c
commit
b513f1a5d7
@ -1,3 +1,7 @@
|
|||||||
|
19 Aug: AnyProxy 3.7.4:
|
||||||
|
|
||||||
|
* bugfix for intercepting urls like http://a.com?url=http://b.com
|
||||||
|
|
||||||
31 July: AnyProxy 3.7.3:
|
31 July: AnyProxy 3.7.3:
|
||||||
|
|
||||||
* show lastest 100 records when visit the web ui
|
* show lastest 100 records when visit the web ui
|
||||||
|
@ -22,7 +22,7 @@ function userRequestHandler(req,userRes){
|
|||||||
var host = req.headers.host,
|
var host = req.headers.host,
|
||||||
urlPattern = url.parse(req.url),
|
urlPattern = url.parse(req.url),
|
||||||
path = urlPattern.path,
|
path = urlPattern.path,
|
||||||
protocol = (!!req.connection.encrypted && !/http:/.test(req.url)) ? "https" : "http",
|
protocol = (!!req.connection.encrypted && !/^http:/.test(req.url)) ? "https" : "http",
|
||||||
resourceInfo,
|
resourceInfo,
|
||||||
resourceInfoId = -1,
|
resourceInfoId = -1,
|
||||||
reqData;
|
reqData;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "anyproxy",
|
"name": "anyproxy",
|
||||||
"version": "3.7.3",
|
"version": "3.7.4",
|
||||||
"description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.",
|
"description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.",
|
||||||
"main": "proxy.js",
|
"main": "proxy.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user