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.