diff options
author | satish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-19 23:17:08 +0000 |
---|---|---|
committer | satish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-19 23:17:08 +0000 |
commit | 93252e4a3e77cb7f518f2bb1e1d85414f9c8e17f (patch) | |
tree | 8a883721d3c19016d02f0d85c88c570c7cf81dbf /build | |
parent | 28b2fabce3fd66bbfe378b31c54be44872226160 (diff) | |
download | chromium_src-93252e4a3e77cb7f518f2bb1e1d85414f9c8e17f.zip chromium_src-93252e4a3e77cb7f518f2bb1e1d85414f9c8e17f.tar.gz chromium_src-93252e4a3e77cb7f518f2bb1e1d85414f9c8e17f.tar.bz2 |
Add quotes around command line arg to allow a wider range of URLs.
Without quotes the shell complains when trying to open URLs with shell special
characters including parentheses, single/double quotes etc. (e.g. data URLs)
TEST=adb_run_content_shell "data:text/html,<script>console.log(1);</script>"
BUG=None
Review URL: https://chromiumcodereview.appspot.com/10581025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143080 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-x | build/android/adb_run_content_shell | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/android/adb_run_content_shell b/build/android/adb_run_content_shell index 082074f..bfc7367 100755 --- a/build/android/adb_run_content_shell +++ b/build/android/adb_run_content_shell @@ -5,7 +5,7 @@ # found in the LICENSE file. if [ $# -gt 0 ] ; then - INTENT_ARGS="-d $1" # e.g. a URL + INTENT_ARGS='-d "$1"' # e.g. a URL fi adb shell am start \ |