Bug 870259

Summary: [zanata_zanata_xml_make] should be able do handle traling / in URL
Product: [Fedora] Fedora Reporter: Ding-Yi Chen <dchen>
Component: zanata-utilAssignee: Ding-Yi Chen <dchen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 17CC: dchen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-20 15:24:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Ding-Yi Chen 2012-10-26 00:27:04 UTC
Description of problem:
zanata_zanata_xml_make cannot contact to server if the URL given has the trailing /. This makes the URL cannot be consistant with the URL written in zanata.ini.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. zanata_zanata_xml_make http://URL_WITH_TRAILING_/ ProjectId VersionId
Actual results:
http://URL_WITH_TRAILING_//language/list Not Found at /usr/share/perl5/vendor_perl/Zanata/Util/Locale.pm line 354

Expected results:
Suceed without error

Additional info:

Comment 1 Fedora Update System 2012-10-26 05:16:49 UTC
zanata-util-0.2.9-1.fc17 has been submitted as an update for Fedora 17.

Comment 2 Fedora Update System 2012-10-26 05:17:09 UTC
zanata-util-0.2.9-1.el6 has been submitted as an update for Fedora EPEL 6.

Comment 3 Fedora Update System 2012-10-26 05:17:32 UTC
zanata-util-0.2.9-1.fc16 has been submitted as an update for Fedora 16.

Comment 4 Fedora Update System 2012-10-26 05:17:52 UTC
zanata-util-0.2.9-1.el5 has been submitted as an update for Fedora EPEL 5.

Comment 5 Fedora Update System 2012-10-26 05:18:11 UTC
zanata-util-0.2.9-1.fc18 has been submitted as an update for Fedora 18.

Comment 6 Fedora Update System 2012-10-26 18:36:34 UTC
Package zanata-util-0.2.9-1.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing zanata-util-0.2.9-1.el6'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2012-12-20 15:24:49 UTC
zanata-util-0.2.9-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.