ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23322] - VAJ task run fail if VAJ's project name has some space character
Date Thu, 30 Oct 2003 10:18:45 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23322>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23322

VAJ task run fail if VAJ's project name has some space character





------- Additional Comments From landers@in.tum.de  2003-10-30 10:18 -------
I can confirm this is a bug; I was able to reproduce this behaviour using
a demo version of VAJ.

The cause is in fact improper URL encoding. Only parts of the URL are subject to
URL encoding, causing certain configurations (p.ex. project names with non-URL
characters) to fail. The patch Francois Rey and I submitted for bug 10016 only
fixed the _how_ URL encoding happend (substituted URLEncoding for pseudo
encoding ...) not _when_.

I've created a new patch that fixes the _when_. It no longer appends
URL parameters directly to the URL, sometimes URL encoding them, but
treats URL and parameters as seperate entities that are combined
to a valid URL (with proper encoding for the parameters) inside the
sendRequest() method. This way all parameters should receive proper
encoding now. 

Patch is against release 1.5.4.

Bui Dinh, could you please test and confirm this fixes your bug?

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


Mime
View raw message