You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to use your cookieRewrite functionality in order to pass cookies back through our proxy from our staging server to localhost. Our staging URL looks like name-stage.otherName.com, which does not match the regex /(Domain)=[a-z\.-_]*?(;|$)/gi in https://github.com/andrewrk/node-proxy-middleware/blob/master/index.js#L110. This blocks the cookieRewrite from actually happening.
Is there a reason you have excluded URLs with a - in them? If not, please update the regex to match URLs such as myurl-stage.com. I can put out a PR if you want :) we used /(Domain)=[a-z\.-_-]*?(;|$)/gi locally.
The text was updated successfully, but these errors were encountered:
We are trying to use your
cookieRewrite
functionality in order to pass cookies back through our proxy from our staging server tolocalhost
. Our staging URL looks likename-stage.otherName.com
, which does not match the regex/(Domain)=[a-z\.-_]*?(;|$)/gi
in https://github.com/andrewrk/node-proxy-middleware/blob/master/index.js#L110. This blocks thecookieRewrite
from actually happening.Is there a reason you have excluded URLs with a
-
in them? If not, please update the regex to match URLs such asmyurl-stage.com
. I can put out a PR if you want :) we used/(Domain)=[a-z\.-_-]*?(;|$)/gi
locally.The text was updated successfully, but these errors were encountered: