properly decode target url
This commit is contained in:
parent
cfe343a950
commit
fbad469d65
|
@ -33,7 +33,7 @@ async function handle_request(request, response) {
|
||||||
response.data("Please supply a url in the query string.")
|
response.data("Please supply a url in the query string.")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
const target_url = request.query
|
const target_url = decodeURIComponent(request.query)
|
||||||
const win = new BrowserWindow(electron_options)
|
const win = new BrowserWindow(electron_options)
|
||||||
|
|
||||||
const load_timeout_ms = 2000
|
const load_timeout_ms = 2000
|
||||||
|
|
Loading…
Reference in New Issue