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 86b2549 commit e01b122Copy full SHA for e01b122
CHANGELOG.md
@@ -1,5 +1,6 @@
1
## master
2
3
+* Fixes an issue with network header value formatting.
4
* Replaces the defaults tool with PlistBuddy for reading plist files.
5
6
## v10.8.1 (2021-08-25)
utils/XhrNetworkInterceptor.js
@@ -83,8 +83,8 @@ const XHRInterceptor = {
83
const responseHeaders = this.getAllResponseHeaders().split('\r\n');
84
const responseHeadersDictionary = {};
85
responseHeaders.forEach(element => {
86
- const key = element.split(':')[0];
87
- const value = element.split(':')[1];
+ const key = element.split(/:(.+)/)[0];
+ const value = element.split(/:(.+)/)[1];
88
responseHeadersDictionary[key] = value;
89
});
90
cloneNetwork.responseHeaders = responseHeadersDictionary;
0 commit comments