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=42762>.
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=42762





------- Additional Comments From [EMAIL PROTECTED]  2007-06-28 06:53 -------
(In reply to comment #9)
> (In reply to comment #7)
> > After saving, image URLs are malformed:
> > 
> > <object data="/cms.example.com/tutorial/foo.jpg" title="Foo" type="" />
> 
> In the PUT request, the URL still looks OK:
> 
> <img src="https://cms.example.com/tutorial/foo.jpg"; ... />

I guess the problem is in modules/xhtml/xslt/clean-xhtml.xsl:

        <xsl:choose>
          <xsl:when test="starts-with(@src, '/')">
            <xsl:value-of select="@src"/>              
          </xsl:when>
          <xsl:otherwise>
            <xsl:value-of select="substring-after(@src, '/')"/>
          </xsl:otherwise>
        </xsl:choose>
      </xsl:attribute>




-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to