Title: [172989] trunk/Source/WebKit2
- Revision
- 172989
- Author
- [email protected]
- Date
- 2014-08-26 17:19:13 -0700 (Tue, 26 Aug 2014)
Log Message
FileReader cannot read files selected with <input type="file"> in iOS 8
https://bugs.webkit.org/show_bug.cgi?id=136117
Patch by Joseph Pecoraro <[email protected]> on 2014-08-26
Reviewed by Alexey Proskuryakov.
* Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb:
Correct an overzealous deny that was accidentally denying all
com.apple.app-sandbox.read extensions instead of just the ones
in Application bundles it was trying to deny.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (172988 => 172989)
--- trunk/Source/WebKit2/ChangeLog 2014-08-27 00:16:52 UTC (rev 172988)
+++ trunk/Source/WebKit2/ChangeLog 2014-08-27 00:19:13 UTC (rev 172989)
@@ -1,3 +1,15 @@
+2014-08-26 Joseph Pecoraro <[email protected]>
+
+ FileReader cannot read files selected with <input type="file"> in iOS 8
+ https://bugs.webkit.org/show_bug.cgi?id=136117
+
+ Reviewed by Alexey Proskuryakov.
+
+ * Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb:
+ Correct an overzealous deny that was accidentally denying all
+ com.apple.app-sandbox.read extensions instead of just the ones
+ in Application bundles it was trying to deny.
+
2014-08-26 Tim Horton <[email protected]>
Crashes in ViewGestureController::beginSwipeGesture when swiping in rapid succession
Modified: trunk/Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb (172988 => 172989)
--- trunk/Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb 2014-08-27 00:16:52 UTC (rev 172988)
+++ trunk/Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb 2014-08-27 00:19:13 UTC (rev 172989)
@@ -43,8 +43,14 @@
;; enough access to make it possible.
;; Disallow networking process from reading any bundles, even with the read extension
-(deny file-read* (subpath "/Applications") (extension "com.apple.app-sandbox.read"))
-(deny file-read* (subpath "/private/var/mobile/Containers/Bundle/Application") (extension "com.apple.app-sandbox.read"))
+(deny file-read*
+ (require-all
+ (subpath "/Applications")
+ (extension "com.apple.app-sandbox.read")))
+(deny file-read*
+ (require-all
+ (subpath "/private/var/mobile/Containers/Bundle/Application")
+ (extension "com.apple.app-sandbox.read")))
;; Allow the networking process to read directories inside the bundle directories
;; that we may have killed off above
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes