[Bug 283146] New: URL.ycp:191 Substring index out of range
https://bugzilla.novell.com/show_bug.cgi?id=283146 Summary: URL.ycp:191 Substring index out of range Product: openSUSE 10.3 Version: Alpha 4plus Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: YaST2 AssignedTo: jsrain@novell.com ReportedBy: locilka@novell.com QAContact: jsrain@novell.com URL.ycp 30473 jsrain string pth = rawtokens[3]:""; 30473 jsrain if (tokens["scheme"]:"" == "ftp") 30473 jsrain { 30473 jsrain if (substring (pth, 0, 4) == "/%2f") 30473 jsrain { 30473 jsrain pth = "/" + substring (pth, 4); 30473 jsrain } 30473 jsrain else 30473 jsrain { 30473 jsrain pth = substring (pth, 1); 30473 jsrain } 30473 jsrain } <1> 151.155.136.85(3403) [YCP] PackageCallbacks.ycp:1066 Source report start: src: 1, URL: ftp://kirk.provo.novell.com/dist/install/SLES-10-SP1-RC5/i386, task: Downloading ftp://kirk.provo.novell.com/dist/install/SLES-10-SP1-RC5/i386/content <3> 151.155.136.85(3403) [Interpreter] URL.ycp:191 Substring index out of range (for more info, please, check YaST logs 'y2log-2' from bug #282871) I'd fix it by myself but the fix wouldn't be safe because I don't understand the current code well. (Do U want to fix it for SLES10 SPX as well?) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=283146#c1
Jiri Srain
participants (1)
-
bugzilla_noreply@novell.com