Mailinglist Archive: yast-commit (815 mails)

< Previous Next >
[yast-commit] r39977 - in /trunk/metapackage: package/yast2-metapackage-handler.changes src/OneClickInstallUrlHandler.ycp
  • From: mvidner@xxxxxxxxxxxxxxxx
  • Date: Mon, 06 Aug 2007 10:36:19 -0000
  • Message-id: <20070806103620.09619B58E6@xxxxxxxxxxxxxxxx>
Author: mvidner
Date: Mon Aug  6 12:36:19 2007
New Revision: 39977

URL: http://svn.opensuse.org/viewcvs/yast?rev=39977&view=rev
Log:
Delete newlines before processing URL (benji)

Modified:
    trunk/metapackage/package/yast2-metapackage-handler.changes
    trunk/metapackage/src/OneClickInstallUrlHandler.ycp

Modified: trunk/metapackage/package/yast2-metapackage-handler.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/metapackage/package/yast2-metapackage-handler.changes?rev=39977&r1=39976&r2=39977&view=diff
==============================================================================
--- trunk/metapackage/package/yast2-metapackage-handler.changes (original)
+++ trunk/metapackage/package/yast2-metapackage-handler.changes Mon Aug  6 12:36:19 2007
@@ -1,6 +1,7 @@
 -------------------------------------------------------------------
-Mon Aug  6 12:35:11 CEST 2007 - mvidner@xxxxxxx
+Mon Aug  6 12:36:11 CEST 2007 - mvidner@xxxxxxx
 
+- Delete newlines before processing URL (benji).
 - Handle file: URLs (benji).
 - Updated the tuxsaver example.
 

Modified: trunk/metapackage/src/OneClickInstallUrlHandler.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/metapackage/src/OneClickInstallUrlHandler.ycp?rev=39977&r1=39976&r2=39977&view=diff
==============================================================================
--- trunk/metapackage/src/OneClickInstallUrlHandler.ycp (original)
+++ trunk/metapackage/src/OneClickInstallUrlHandler.ycp Mon Aug  6 12:36:19 2007
@@ -4,6 +4,7 @@
 
        list<string> args = (list<string>)WFM::Args();
        string urlurl = args[0]:"";
+       string INVALID_CHARS = "\n";
        string url = (string)SCR::Read(.target.string,urlurl);
-       WFM::call("OneClickInstallUI",[url]);
+       WFM::call("OneClickInstallUI",[deletechars(url,INVALID_CHARS)]);
 }
\ No newline at end of file

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

< Previous Next >
This Thread
  • No further messages