|
Bugzilla – Full Text Bug Listing |
| Summary: | online_update fails -- URL is apparently defective | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | Juergen Weigert <jw> |
| Component: | YOU | Assignee: | E-mail List <yast2-maintainers> |
| Status: | RESOLVED FIXED | QA Contact: | Klaus Kämpf <kkaempf> |
| Severity: | Blocker | ||
| Priority: | P5 - None | CC: | aj, opensuse |
| Version: | Alpha 4 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | patch to correct url-escaping | ||
|
Description
Juergen Weigert
2005-12-20 11:45:48 UTC
*Very* strange. The code explictly says ' url += "?product ..." ' and ' += "&..." ' for all other attributes. Fresh install or upgrade ? fresh install. ssh root@10.10.103.54 /home/testy/.y2log Argh, found it. Juergen, that bug was introduced with the last enhancement to also pass information from /etc/SuSE-release to suseservers.cgi. So this bug should've been detected before ... Aj, I will have to submit a new yast2-packagemanager :-( fix submitted to autobuild, yast2-packagemanager-2.13.13 Klaus, I guess this should not have happend now? testy@g54:~> rm ~/.y2log testy@g54:~> rpm -qf /usr/bin/online_update yast2-packagemanager-2.13.13-2 testy@g54:~> /usr/bin/online_update -k -s Fehler bei der Server-Anfrage: ERROR(You:Fehler beim Holen der YOU-Server-Datei.) testy@g54:~> grep -i url ~/.y2log 2005-12-21 12:40:09 <1> d54(11257) [packagemanager++] PMYouProduct.cc(PMYouProduct):67 YouUrl: 2005-12-21 12:40:09 <1> d54(11257) [packagemanager++] PMYouServers.cc(requestServers):404 url: 'http%2F%2Fwww.suse.de%2Fcgi-bin%2Fsuseservers.cgi%26product=SUSE%20LINUX%3Fversion=10.0.42%3Fbasearch=i386%3Farch=i686%3Flang=de%3Fbusiness=0%3Fcheck=1%3Fdistproduct=SUSE-Linux-CD-OSS-i386-10.0.42-Alpha4%3Fsuse-release=SUSE%20LINUX%2010.0.42%20(i586)%20OSS%20Alpha4%3Fyast2-online-update=2.13.2-2%3Fyast2-packagemanager=2.13.13-2%3Fliby2util=2.13.3-3%3Ftimezone=Europe%2FBerlin%3Fmachid=e33b8c6c7f59defafc' 2005-12-21 12:40:09 <3> d54(11257) [mediaaccess] MediaAccess.cc(open):71 ERROR(Media:invalid URL) opening :// testy@g54:~> Created attachment 61574 [details]
patch to correct url-escaping
2.13.13 fixes something else.
We need to escapeURL() each element seperatly. A global escapeURL destroys the syntactic elements '://' and '/', '?' and '&'.
Applied, thanks ! 2.13.14 -> stable *** Bug 140744 has been marked as a duplicate of this bug. *** |