Commit 8902a1d1 authored by Pablo Galindo's avatar Pablo Galindo Committed by GitHub

[2.7] bpo-34019: Fix wrong arguments for Opera Browser (GH-8047) (#8126)

The Opera Browser was using a outdated command line invocation that resulted in an incorrect URL being opened in the browser when requested using the webbrowser module.

* Correct the arguments passed to the Opera Browser when opening a new URL..
(cherry picked from commit 3cf1f154)
Co-authored-by: default avatarBumsik Kim <k.bumsik@gmail.com>
parent 7829bba4
......@@ -319,11 +319,10 @@ Chromium = Chrome
class Opera(UnixBrowser):
"Launcher class for Opera browser."
raise_opts = ["-noraise", ""]
remote_args = ['-remote', 'openURL(%s%action)']
remote_args = ['%action', '%s']
remote_action = ""
remote_action_newwin = ",new-window"
remote_action_newtab = ",new-page"
remote_action_newwin = "--new-window"
remote_action_newtab = ""
background = True
......
webbrowser: Correct the arguments passed to Opera Browser when opening a new URL
using the ``webbrowser`` module. Patch by Bumsik Kim.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment