gonzalocasas / node-proxy-middleware

proxy as middleware
MIT License
146 stars 65 forks source link

Make cookie regexp case-insensitive #28

Closed jerrysu closed 9 years ago

jerrysu commented 9 years ago

I noticed that the cookieRewrite option was not fully working on some production servers that I wanted to proxy to. It turned out that the Secure flag was in lowercase on those servers. This simply changes the regexp to be case-insensitive.

andrewrk commented 9 years ago

Thanks, released as 0.11.0.