Hello,

I use localTrusted sandbox and test all on my local PC. My system is
Windows XP SP2. I use Eclipse Flex Builder 3.

I am trying to download URL page, but always get error only if URL
contains \x00: Error #2044: Unhandled ioError:. text=Error #2032:
Stream Error. URL: http://google.com/search?q=aaa%00hhh.

I am using the google.com just for testing, but my request may contain
\x00. I tested several values and the issue is in \x00 char.

I ran net sniffer and I got responce HTTP 200, OK to my request with
\x00. But Flex always raised the Stream Error.

Here is my simple test function:

public function test():void
{
    request = new URLRequest();
    loader = new URLLoader();
    request.url = 'http://google.com/search';
    request.data = 'q=' + escape('aaa\x00hhh');

    loader.dataFormat = URLLoaderDataFormat.BINARY;
    loader.addEventListener(Event.COMPLETE, addAsync
(completeHandlerAnnounce,2000));
    loader.load(request);
}

My function completeHandlerAnnounce is not called. But if I remove
\x00, it is called.

Could you please clarify: is is a bug or I do something wrong?

Thanks,
Valery.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to