FS#31620 - [chromium] CHROMIUM_FLAGS cannot contain spaces
Attached to Project:
Arch Linux
Opened by Timothy Redaelli (tredaelli) - Thursday, 20 September 2012, 17:46 GMT
Last edited by Evangelos Foutras (foutrelis) - Thursday, 20 September 2012, 20:08 GMT
Opened by Timothy Redaelli (tredaelli) - Thursday, 20 September 2012, 17:46 GMT
Last edited by Evangelos Foutras (foutrelis) - Thursday, 20 September 2012, 20:08 GMT
|
Details
I need to use the --user-agent chromium option to access
"Outlook Web App", but I can't put it into CHROMIUM_FLAGS
because spaces are expanded by the shell.
I suggest to change the last line of chromium wrapper to use an array: exec /usr/lib/chromium/chromium "${CHROMIUM_FLAGS[*]}" "$@" So I can use CHROMIUM_FLAGS=("--user-agent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/22.0.1207.1 Safari/537.1") without any problem |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Thursday, 20 September 2012, 20:08 GMT
Reason for closing: Won't implement
Thursday, 20 September 2012, 20:08 GMT
Reason for closing: Won't implement
[1] http://googlesystem.blogspot.com/2011/12/changing-user-agent-new-google-chrome.html