You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2005/03/08 21:17:41 UTC

DO NOT REPLY [Bug 33913] New: - XSL arriving to the browser with potentially invalid absolute links rather than relative links

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33913>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33913

           Summary: XSL arriving to the browser with potentially invalid
                    absolute links rather than relative links
           Product: Lenya
           Version: 1.2.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Kupu Integration
        AssignedTo: dev@lenya.apache.org
        ReportedBy: lendev7492@log1.net


There is a problem with image drawers and local link drawers in
kupu, which shows up when accessing externally  mod_rewrite, but not when
accessing the site directly and locally through port 8080. 

the problem relates to two files in the directory:
./lenya/lenya/resources/kupu/apache-lenya/lenya/drawers

there are imagedrawer.xsl  and linkdrawer.xsl    

both these have a line in the xsl:
  <xsl:import
href="${parameters.getParameter('import-stylesheet-url')}"/>


which when resolved by the xsl engine become:
<xsl:import
href="http://mytestsite:8080/lenya/kupu/common/kupudrawers/drawer.xsl"/>

the xsl arrives on the browser like that and so it can never see the file
drawer.xsl through mod_rewrite and not at all if port 8080 or the
application server cannot be seen from the outside world.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org