Skip to content

Commit

Permalink
Fixed Pkg.ExpandedUrl to return also the password (bsc#1067007)
Browse files Browse the repository at this point in the history
- 3.2.5
  • Loading branch information
lslezak committed Dec 8, 2017
1 parent eae9181 commit b9eaa2c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package/yast2-pkg-bindings-devel-doc.spec
Expand Up @@ -16,7 +16,7 @@
#

Name: yast2-pkg-bindings-devel-doc
Version: 3.2.4
Version: 3.2.5
Release: 0
License: GPL-2.0
Group: Documentation/HTML
Expand Down
7 changes: 7 additions & 0 deletions package/yast2-pkg-bindings.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Dec 7 12:03:48 UTC 2017 - lslezak@suse.cz

- Fixed Pkg.ExpandedUrl to return also the password part
of the URL (bsc#1067007)
- 3.2.5

-------------------------------------------------------------------
Wed Jun 21 12:16:39 UTC 2017 - lslezak@suse.cz

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


Name: yast2-pkg-bindings
Version: 3.2.4
Version: 3.2.5
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
3 changes: 2 additions & 1 deletion src/PkgFunctions.cc
Expand Up @@ -517,5 +517,6 @@ YCPValue PkgFunctions::ExpandedUrl(const YCPString &url)

zypp::RepoVariablesReplacedUrl replacedUrl;
replacedUrl.raw() = zypp::Url(url->asString()->value());
return YCPString(replacedUrl.transformed().asString());
// return full URL including the password if present
return YCPString(replacedUrl.transformed().asCompleteString());
}

0 comments on commit b9eaa2c

Please sign in to comment.