gh-137586: Open web browser with absolute path#137584
gh-137586: Open web browser with absolute path#137584fionn wants to merge 3 commits intopython:mainfrom
Conversation
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
091f610 to
8700060
Compare
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
Please open an issue first. |
|
Could you please add a news entry and also fix the osascript invocation in |
On macOS, web browsers are opened via popen calling osascript. However, if a user has a colliding osascript executable earlier in their PATH, this may fail or cause unwanted behaviour. Depending on one's environment or level of paranoia, this may be considered a security vulnerability.
e9ed37f to
00682c5
Compare
|
Yes, done. I wasn't sure if this was significant enough to warrant a news item. |
|
#146439 takes a broader approach to this issue by replacing |
On macOS, web browsers are opened via
popencallingosascript. However, if a user has a collidingosascriptexecutable earlier in theirPATH, this may fail or cause unwanted behaviour.Depending on one's environment or level of paranoia, this may be considered a security vulnerability.