Skip to content

Commit

Permalink
Merge fde1c5d into f18256c
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Dec 20, 2022
2 parents f18256c + fde1c5d commit 66ee7cf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions package/yast2-packager.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Dec 20 09:30:54 UTC 2022 - Ladislav Slezák <lslezak@suse.com>

- Do not fail when the installation URL contains a space
(bsc#1201816)
- 4.5.10

-------------------------------------------------------------------
Wed Dec 14 10:25:42 UTC 2022 - Stefan Hundhammer <shundhammer@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-packager.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-packager
Version: 4.5.9
Version: 4.5.10
Release: 0
Summary: YaST2 - Package Library
License: GPL-2.0-or-later
Expand Down
3 changes: 3 additions & 0 deletions src/modules/InstURL.rb
Expand Up @@ -149,6 +149,9 @@ def installInf2Url(extra_dir = "")
@installInf2Url = add_ssl_verify_no_to_url(@installInf2Url) unless SSLVerificationEnabled()
end

# escape spaces otherwise it would be invalid and rejected by libzypp
@installInf2Url.gsub!(" ", "%20")

log.info "Using install URL: #{URL.HidePassword(@installInf2Url)}"
@installInf2Url
end
Expand Down

0 comments on commit 66ee7cf

Please sign in to comment.