tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Dupre (JIRA)" <tapestry-...@jakarta.apache.org>
Subject [jira] Created: (TAPESTRY-664) Issue with Asset URLs and proxies
Date Fri, 23 Sep 2005 20:24:28 GMT
Issue with Asset URLs and proxies

         Key: TAPESTRY-664
         URL: http://issues.apache.org/jira/browse/TAPESTRY-664
     Project: Tapestry
        Type: Bug
    Versions: 4.0, 3.0.3, 3.0.2, 3.0.1    
    Reporter: Henri Dupre

This is an issue that I have been having with Tapestry 3 but I believe it will be the same
with Tapestry 4.
We are constantly getting somne  of these errors:

An exception has occurred.

You may continue by restarting the session.

Service asset requires exactly 2 service parameters.
Stack Trace:

    * org.apache.tapestry.asset.AssetService.service(AssetService.java:136)
    * org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:889) 

The source cause is that the URL used is silly:
characterEncoding	UTF-8
contentLength	0
method	GET
protocol	HTTP/1.0
queryString	service=asset&amp;sp=S%2Forg%2Fapache%2Ftapestry%2Fvalid%2FValidator.js&amp;sp=S3dfc7ba91240b3bbd49fbb3ccccefe31

The &amp; are not escaped. I found out that all these silly queries come from proxies!
The proxies seem to somehow parse the html page and generate queries for everything that starts
with http.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

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

View raw message