Title: [223183] branches/safari-604-branch/Source/WebInspectorUI
Revision
223183
Author
[email protected]
Date
2017-10-11 09:09:28 -0700 (Wed, 11 Oct 2017)

Log Message

Cherry-pick r222762. rdar://problem/34771420

Modified Paths

Diff

Modified: branches/safari-604-branch/Source/WebInspectorUI/ChangeLog (223182 => 223183)


--- branches/safari-604-branch/Source/WebInspectorUI/ChangeLog	2017-10-11 16:09:26 UTC (rev 223182)
+++ branches/safari-604-branch/Source/WebInspectorUI/ChangeLog	2017-10-11 16:09:28 UTC (rev 223183)
@@ -1,3 +1,19 @@
+2017-10-10  Jason Marcell  <[email protected]>
+
+        Cherry-pick r222762. rdar://problem/34771420
+
+    2017-10-02  Joseph Pecoraro  <[email protected]>
+
+            Web Inspector: Escape more characters in posix string conversion
+            https://bugs.webkit.org/show_bug.cgi?id=177761
+            <rdar://problem/34506832>
+
+            Reviewed by Brian Burg.
+
+            * UserInterface/Models/Resource.js:
+            (WI.Resource.prototype.generateCURLCommand.escapeStringPosix):
+            Escape '!' to '\041' in posix strings ($'...') since '!' may have special behavior at times.
+
 2017-07-13  Joseph Pecoraro  <[email protected]>
 
         Web Inspector: Remove unused and untested Page domain commands

Modified: branches/safari-604-branch/Source/WebInspectorUI/UserInterface/Models/Resource.js (223182 => 223183)


--- branches/safari-604-branch/Source/WebInspectorUI/UserInterface/Models/Resource.js	2017-10-11 16:09:26 UTC (rev 223182)
+++ branches/safari-604-branch/Source/WebInspectorUI/UserInterface/Models/Resource.js	2017-10-11 16:09:28 UTC (rev 223183)
@@ -949,6 +949,7 @@
                                  .replace(/'/g, "\\'")
                                  .replace(/\n/g, "\\n")
                                  .replace(/\r/g, "\\r")
+                                 .replace(/!/g, "\\041")
                                  .replace(/[^\x20-\x7E]/g, escapeCharacter) + "'";
             } else {
                 // Use single quote syntax.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to