Bug 1026593

Summary: Webadmin UI is now requesting two slashes in front of URLs
Product: [Retired] oVirt Reporter: Greg Sheremeta <gshereme>
Component: ovirt-engine-coreAssignee: Alexander Wels <awels>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Beňas <pbenas>
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, alonbl, awels, iheim, jbelka, pbenas, pstehlik, vszocs, yeylon
Target Milestone: ---   
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ux
Fixed In Version: ovirt-3.4.0-alpha1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-31 12:33:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Greg Sheremeta 2013-11-05 03:04:54 UTC
Description of problem:
Webadmin UI is now requesting two slashes in front of URLs. Probably applies to User Portal as well, but I did not check.

Version-Release number of selected component (if applicable):
N/A, master

How reproducible:
always

Steps to Reproduce:
1. Install ovirt-engine dev mode
2. mv <location>/packaging/manual/DocumentationPath.csv to <location>/packaging/manual/DocumentationPath.csv.temp
3. start ovirt-engine
4. Open browser and log in to Webadmin.

Actual results:
Log message with web UI requesting URL with double-slash in front
2013-11-04 11:21:40,582 ERROR [org.ovirt.engine.core.utils.servlet.ServletUtils] (http--0.0.0.0-8080-3) Can't read file "/home/greg/ovirt-engine/share/ovirt-engine/manual/DocumentationPath.csv" for request "//ovirt-engine/docs/manual/DocumentationPath.csv", will send a 404 error response.

Expected results:
"/ovirt-engine/docs/manual/DocumentationPath.csv"
not
"//ovirt-engine/docs/manual/DocumentationPath.csv"

Additional info:

Comment 1 Sandro Bonazzola 2014-01-13 13:57:08 UTC
oVirt 3.4.0 alpha has been released including the fix for this issue.

Comment 2 Frantisek Kobzik 2014-01-17 15:27:21 UTC
*** Bug 1017230 has been marked as a duplicate of this bug. ***

Comment 3 Petr Beňas 2014-02-18 20:54:52 UTC
Verified in 3.4.0-0.7.beta2.el6.

Comment 4 Sandro Bonazzola 2014-03-31 12:33:18 UTC
this is an automated message: moving to Closed CURRENT RELEASE since oVirt 3.4.0 has been released