I don't think I made myself clear.  Let me try again

            try {
                currentUri = method.getURI();
                String charset = currentUri.getURI();
                redirectUri = new URI(location, true, charset);
                method.setURI(redirectUri);
            } catch (URIException ex) {
            throw new XmlRpcException(ex.getMessage(), ex);
            }

The second line of the try block is getting the currentURI as a string,
which judging by the variable's name (charset), and by the documented
meaning of the the third parameter of the URI constructor in the third
line of the catch block, is supposed to represent the name of a charset.



-----Original Message-----
From: Jochen Wiedmann [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 23, 2007 2:08 PM
To: [email protected]
Subject: Re: [jira] Updated: (XMLRPC-132) Enabling the ability for the
xml-rpc client to redirect requests


On 7/23/07, COHEN, STEVEN M (ATTSI) <[EMAIL PROTECTED]> wrote:

> The second line of the try block is getting the currentURI as a
string,
> which judging by its name is supposed to represent the name of a
> charset.

Far away from that. Think of the URI as the URL. It is more likely,
that the URL, which the server sends contains invalid (non-ascii)
characters.



-- 
"Besides, manipulating elections is under penalty of law, resulting in
a preventative effect against manipulating elections.

The german government justifying the use of electronic voting machines
and obviously  believing that we don't need a police, because all
illegal actions are forbidden.

http://dip.bundestag.de/btd/16/051/1605194.pdf

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to