Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with regular expression matching SOAP message (Content-Type) #37

Open
Gueryce opened this issue Jul 26, 2021 · 0 comments
Open

Issue with regular expression matching SOAP message (Content-Type) #37

Gueryce opened this issue Jul 26, 2021 · 0 comments

Comments

@Gueryce
Copy link

Gueryce commented Jul 26, 2021

https://github.com/apigee/wsdl2apigee/blob/master/src/main/resources/templates/soappassthru/proxyDefault.xml

Line 8 : !(request.header.Content-Type ~~ "(text|application)/(xml|([a-z]+xml))(;(\w)=(\S*))?") and (request.verb != "GET")

Use : (text|application)/(xml|([a-z]+xml))(;( +|)(\w)=(\S*))? instead.
I 've done several tests and I found a problem with text/xml; charset=UTF-8 (When a space is present, the regular expression doesn't match).

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant