Changeset 184931 in webkit
- Timestamp:
- May 27, 2015 5:34:39 PM (9 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r184930 r184931 1 2015-05-27 Anders Carlsson <andersca@apple.com> 2 3 Can't load local files in WKWebView from containerized app 4 https://bugs.webkit.org/show_bug.cgi?id=145424 5 rdar://problem/20831176 6 7 Reviewed by Dan Bernstein. 8 9 Allow the network process to load local files from its bundle as long as it has 10 the sandbox extensions to do so. 11 12 This was originally added to only allow SSO to read the Info.plist inside its own application 13 bundle, but being able to read the application bundle from within the network process should be OK. 14 15 * Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb: 16 1 17 2015-05-27 Andreas Kling <akling@apple.com> 2 18 -
trunk/Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb
r172989 r184931 43 43 ;; enough access to make it possible. 44 44 45 ;; Disallow networking process from reading any bundles, even with the read extension46 (deny file-read*47 (require-all48 (subpath "/Applications")49 (extension "com.apple.app-sandbox.read")))50 (deny file-read*51 (require-all52 (subpath "/private/var/mobile/Containers/Bundle/Application")53 (extension "com.apple.app-sandbox.read")))54 55 ;; Allow the networking process to read directories inside the bundle directories56 ;; that we may have killed off above57 (allow file-read*58 (require-all59 (extension "com.apple.app-sandbox.read")60 (vnode-type DIRECTORY)))61 62 ;; Allow the networking process to read the Info.plist files63 (allow file-read*64 (require-all65 (extension "com.apple.app-sandbox.read")66 (regex #"/Info\.plist$")))67 68 45 ;; IOKit user clients 69 46 (allow iokit-open
Note: See TracChangeset
for help on using the changeset viewer.