RegExReplacer corrupts binary response need to be able to specify filter

7 views
Skip to first unread message

Andy Arismendi

unread,
Jan 26, 2023, 10:10:33 PMJan 26
to membrane-monitor
Hi, I ran into an issue where the response content type is application/zip and wasn't excluded due to the limited exclusion in the code linked below which caused corruption. It would be great to be able to specify a content type list to only apply the regex to e.g. text/html, application/json etc... in proxies.xml as an attribute for RegExReplacer.

https://github.com/membrane/service-proxy/blob/b16dc34bb510c3f00ddb321fbfc74265e2b67647/core/src/main/java/com/predic8/membrane/core/interceptor/RegExReplaceInterceptor.java#L75
Reply all
Reply to author
Forward
0 new messages