[flexcoders] Re: mx.utils.URLUtil.replacePort() does not work?

2008-05-19 Thread valdhor
It appears that URLUtil.replacePort requires the trailing /. Try this:

var newUri:String = URLUtil.replacePort(http://localhost:/;, );

I don't know if this is a bug or a undocumented feature. It kinda
makes sense if you think about it - The URI is incorrectly bounded
without that trailing / or page.


--- In flexcoders@yahoogroups.com, Robert Csiki [EMAIL PROTECTED] wrote:

 
 Working in FB3:
 
 var newUri:String = URLUtil.replacePort(http://localhost:
 http://localhost: , );
 
 The result is newUri = http://localhost:http://localhost:
 http://localhost:http://localhost:
 
 Should I log a bug?? Thanks.





[flexcoders] Re: mx.utils.URLUtil.replacePort() does not work?

2008-05-16 Thread Robert Csiki

Bug logged: https://bugs.adobe.com/jira/browse/SDK-15585
https://bugs.adobe.com/jira/browse/SDK-15585


--- In flexcoders@yahoogroups.com, Robert Csiki [EMAIL PROTECTED]
wrote:


 Working in FB3:

 var newUri:String = URLUtil.replacePort(http://localhost:
 http://localhost: , );

 The result is newUri = http://localhost:http://localhost:
 http://localhost:http://localhost:

 Should I log a bug?? Thanks.