function copyHeaders: RegEx for Domain=*; matches only the first character not the whole domain for example Domain=example.com; replaces strips Domain=e but leaves xample.com
Step-by-step reproduction instructions
Using the request interceptor
Expected behavior (be clear and concise)
to strip the entire Domain=*;
How is http-proxy-middleware used in your project?
Proxying things
What http-proxy-middleware configuration are you using?
Checks
http-proxy-middleware
.Describe the bug (be clear and concise)
function copyHeaders: RegEx for Domain=*; matches only the first character not the whole domain for example Domain=example.com; replaces strips Domain=e but leaves xample.com
Step-by-step reproduction instructions
Expected behavior (be clear and concise)
to strip the entire Domain=*;
How is http-proxy-middleware used in your project?
What http-proxy-middleware configuration are you using?
What OS/version and node/version are you seeing the problem?
Additional context (optional)