Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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
Comment by Timothy Redaelli (tredaelli) - Thursday, 20 September 2012, 18:18 GMT
Correct patch attached
Comment by Evangelos Foutras (foutrelis) - Thursday, 20 September 2012, 20:07 GMT
Please use an extension or something like [1] to change the user agent.

[1] http://googlesystem.blogspot.com/2011/12/changing-user-agent-new-google-chrome.html

Loading...