mirror of
https://github.com/dockur/windows.git
synced 2026-08-24 07:39:00 +01:00
fix: Decode HTML query separators correctly (#2078)
This commit is contained in:
+2
-2
@@ -362,8 +362,8 @@ downloadWindowsEval() {
|
||||
enabled "$DEBUG" && echo "Getting download link.."
|
||||
|
||||
# Normalize HTML-encoded query separators before extracting fwlinks.
|
||||
page=${page//&/&}
|
||||
page=${page//&/&}
|
||||
page=${page//&/\&}
|
||||
page=${page//&/\&}
|
||||
|
||||
links=$(printf '%s\n' "$page" |
|
||||
grep -Eio "https://go\.microsoft\.com/fwlink(/p)?/\?[^\"'<>[:space:]]+" |
|
||||
|
||||
Reference in New Issue
Block a user