Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r55021 - in /trunk/packager: package/yast2-packager.changes src/modules/AddOnProduct.ycp
  • From: lslezak@xxxxxxxxxxxxxxxx
  • Date: Mon, 26 Jan 2009 13:48:37 -0000
  • Message-id: <E1LRRpN-00015r-PR@xxxxxxxxxxxxxxxx>
Author: lslezak
Date: Mon Jan 26 14:48:37 2009
New Revision: 55021

URL: http://svn.opensuse.org/viewcvs/yast?rev=55021&view=rev
Log:
- fixed another places logging complete URL including a password
(bnc#441944)

Modified:
trunk/packager/package/yast2-packager.changes
trunk/packager/src/modules/AddOnProduct.ycp

Modified: trunk/packager/package/yast2-packager.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/packager/package/yast2-packager.changes?rev=55021&r1=55020&r2=55021&view=diff
==============================================================================
--- trunk/packager/package/yast2-packager.changes (original)
+++ trunk/packager/package/yast2-packager.changes Mon Jan 26 14:48:37 2009
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Mon Jan 26 14:06:50 CET 2009 - lslezak@xxxxxxx
+
+- fixed another places logging complete URL including a password
+ (bnc#441944)
+
+-------------------------------------------------------------------
Fri Jan 23 13:57:29 CET 2009 - lslezak@xxxxxxx

- display the number of remaining packages during package

Modified: trunk/packager/src/modules/AddOnProduct.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/packager/src/modules/AddOnProduct.ycp?rev=55021&r1=55020&r2=55021&view=diff
==============================================================================
--- trunk/packager/src/modules/AddOnProduct.ycp (original)
+++ trunk/packager/src/modules/AddOnProduct.ycp Mon Jan 26 14:48:37 2009
@@ -204,7 +204,7 @@
y2warning ("Empty base url");

base_product_url = url;
- y2milestone ("New base URL: %1", base_product_url);
+ y2milestone ("New base URL: %1", URL::HidePassword(base_product_url));
}

global string GetBaseProductURL () {
@@ -233,7 +233,7 @@
*/
global string GetAbsoluteURL (string base_url, string url) {
if (! regexpmatch (url, "^relurl://")) {
- y2debug ("Not a relative URL: %1", url);
+ y2debug ("Not a relative URL: %1", URL::HidePassword(url));
return url;
}

@@ -307,7 +307,7 @@
url = url + "?" + URL::MakeParamsFromMap (final_params_map);
}

- y2milestone ("Final URL: '%1'", url);
+ y2milestone ("Final URL: '%1'", URL::HidePassword(url));
return url;
}
// <--
@@ -1208,7 +1208,7 @@
}

string base_url = GetBaseProductURL();
- y2milestone ("Base URL: %1", base_url);
+ y2milestone ("Base URL: %1", URL::HidePassword(base_url));

list <map> add_products = [];


--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages