Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2135)

Unified Diff: content/utility/utility.sb

Issue 2919963003: Update sandbox profiles and remove regular expressions. (Closed)
Patch Set: Remove string quoting Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/renderer.sb ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/utility/utility.sb
diff --git a/content/utility/utility.sb b/content/utility/utility.sb
index c60b4be9f1f7f2bdace4dac38668e98e31d9316e..f3d3db0cc1d49959dc8e8e56c01ea09c5bd7c493 100644
--- a/content/utility/utility.sb
+++ b/content/utility/utility.sb
@@ -17,4 +17,4 @@
(if (param-defined? permitted-dir)
(begin
(allow file-read-metadata )
- (allow file-read* file-write* (regex (param permitted-dir)))))
+ (allow file-read* file-write* (subpath (param permitted-dir)))))
« no previous file with comments | « content/renderer/renderer.sb ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698