[Bug 557430] New: osc 'api' incorrectly adds trailing '/'
http://bugzilla.novell.com/show_bug.cgi?id=557430 http://bugzilla.novell.com/show_bug.cgi?id=557430#c0 Summary: osc 'api' incorrectly adds trailing '/' Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jnelson-suse@jamponi.net QAContact: adrian@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4) Gecko/20091016 SUSE/3.5.4-1.1.2 Firefox/3.5.4 Near lin 2922 of commandline.py: if not url.startswith('http'): if not url.startswith('/'): url = '/' + url url = conf.config['apiurl'] + url should read: if not url.startswith('http'): if not url.startswith('/') and not conf.config['apiurl'].endswith('/'): url = '/' + url url = conf.config['apiurl'] + url because apiurl probably already ends in '/', and the server barfs if the URL starts with '//'. it's not pretty. big mess. need a mop. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557430
http://bugzilla.novell.com/show_bug.cgi?id=557430#c
shuang qiu
http://bugzilla.novell.com/show_bug.cgi?id=557430
http://bugzilla.novell.com/show_bug.cgi?id=557430#c1
Marcus Hüwe
http://bugzilla.novell.com/show_bug.cgi?id=557430
http://bugzilla.novell.com/show_bug.cgi?id=557430#c2
--- Comment #2 from Jon Nelson
http://bugzilla.novell.com/show_bug.cgi?id=557430
http://bugzilla.novell.com/show_bug.cgi?id=557430#c3
--- Comment #3 from Marcus Hüwe
Unfortunately, 0.124 has some other issue that prevents me from using it on this machine (the HTTPS issue).
About which HTTPS issue are you talking (did you file a bug?)? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557430
http://bugzilla.novell.com/show_bug.cgi?id=557430#c4
--- Comment #4 from Jon Nelson
http://bugzilla.novell.com/show_bug.cgi?id=557430
http://bugzilla.novell.com/show_bug.cgi?id=557430#c5
--- Comment #5 from Marcus Hüwe
http://bugzilla.novell.com/show_bug.cgi?id=557430
http://bugzilla.novell.com/show_bug.cgi?id=557430#c6
--- Comment #6 from Marcus Hüwe
http://bugzilla.novell.com/show_bug.cgi?id=557430
http://bugzilla.novell.com/show_bug.cgi?id=557430#c7
Marcus Hüwe
participants (1)
-
bugzilla_noreply@novell.com