Skip to content

Remove hardcoded default user agent from touchscreen.py and static_browser.py#456

Open
jandro-air wants to merge 1 commit into
masterfrom
topic/remove_user_agent
Open

Remove hardcoded default user agent from touchscreen.py and static_browser.py#456
jandro-air wants to merge 1 commit into
masterfrom
topic/remove_user_agent

Conversation

@jandro-air
Copy link
Copy Markdown
Contributor

Small change to remove the hardcoded user_agents. @constantegonzalez found that it could be reported to internal security as an old browser, in some situations.

Made this a PR b/c not sure how important it is in the first place to change. But secondly, looks like lg_screenshot looks for a default user agent, in which case it might be better to simply update the user agent to something a bit more recent, even if it eventually gets "old" again.

No seeming issues running on the system when manually removing the user agent and running the touchscreen browser.

Copy link
Copy Markdown
Contributor

@minshallj minshallj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, might want to update chef to give some kind of user agent or test this a bit with some websites pulled up. Not totally sure what experience you'll get with no user agent set.

Copy link
Copy Markdown
Contributor

@constantegonzalez constantegonzalez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it might still apply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants