properly decode target url

This commit is contained in:
sose 2021-04-24 05:03:36 +00:00
parent cfe343a950
commit fbad469d65
1 changed files with 1 additions and 1 deletions

View File

@ -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