We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c53d0c8 commit a1d24e5Copy full SHA for a1d24e5
src/http.ts
@@ -173,7 +173,7 @@ export class HttpClient implements IHttpClient {
173
if (typeof body === 'string') {
174
// Remove any extra characters that appear before or after the SOAP envelope.
175
const regex = /(?:<\?[^?]*\?>[\s]*)?<([^:]*):Envelope([\S\s]*)<\/\1:Envelope>/i;
176
- const match = body.replace(/<!--(?:(?!<!--[\s\S])*?)-->/, '').match(regex);
+ const match = body.replace(/<!--[\s\S]*?-->/, '').match(regex);
177
if (match) {
178
body = match[0];
179
}
0 commit comments