8000 fix chrome profiles not launching if they contain slashes + automatically rename Chrome profiles by chrnorm · Pull Request #525 · fwdcloudsec/granted · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix chrome profiles not launching if they contain slashes + automatically rename Chrome profiles #525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 20, 2023

Conversation

chrnorm
Copy link
Contributor
@chrnorm chrnorm commented Oct 20, 2023

What changed?

  • AWS profiles containing slashes like my/profile now correctly open in Chrome and Chromium-based browsers
  • Automatically renames Chrome profiles from 'Person 2', 'Person 3', etc to the name of the AWS profile

(note: the automatic renaming happens the second time that Chrome is launched - on the initial launch you'll still see 'Person 2')

Also removes UserDataPath from the ChromeLauncher struct as it is unused.

Why?

How did you test it?

  • Tested locally with Chrome on MacOS to verify that profiles with slashes now open, and profiles are automatically renamed

Potential risks

  • People with existing Chrome profiles held over from an earlier version of Chrome may have profiles recreated. I think this is unlikely to occur, and if it does, you can edit the Chrome Local State file to adjust the IDs of your profiles.

Is patch release candidate?

No - automatic renaming of Chrome profiles should be a minor change

Link to relevant docs PRs

@chrnorm chrnorm requested review from Eddie023 and meyerjrr October 20, 2023 04:00
it broke the behaviour for the --browser-profile command, for instances where the profile was created manually inside of Chrome
@chrnorm chrnorm merged commit 733d020 into main Oct 20, 2023
@chrnorm chrnorm deleted the fix-chrome-profiles-not-launching branch October 20, 2023 06:52
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.

Google Chrome and Chromium-based browsers don't open for profiles containing slashes in their name
2 participants
0