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

Unified Diff: base_policy/policy-utils.js

Issue 3541011: entd: Add policy signatures (Closed) Base URL: http://git.chromium.org/git/entd.git
Patch Set: Address review comments Created 10 years, 2 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 | « no previous file | bin/entdwife.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base_policy/policy-utils.js
diff --git a/base_policy/policy-utils.js b/base_policy/policy-utils.js
index 88e9beef08872457ebe25916daeda7b33a25dc3f..2ec7022781c19d81397a23340f5cad76a5b1e5b2 100644
--- a/base_policy/policy-utils.js
+++ b/base_policy/policy-utils.js
@@ -52,7 +52,7 @@ function verifyManifest(manifest) {
if (!(perms instanceof Array))
return fail('Invalid type for permissions: ' + perms);
- if (perms.length != 1 || perms[0].indexOf("http://127.0.0.1") != 0)
+ if (perms.length != 1 || perms[0].indexOf("http://127.0.0.1/") != 0)
return fail('Invalid permissions: ' + perms);
}
« no previous file with comments | « no previous file | bin/entdwife.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698