0 Replies Latest reply on Mar 3, 2011 9:25 PM by greenfrg

    Error when linking to external html page


      I'm having a problem with a link to an external page. In short, the page the link is going to isn't the page in the code - some extra code is being added.


      The code for the button in Builder is:



      protected function loginButton_clickHandler():void


      navigateToURL( new URLRequest( encodeURI("http://www.mysite.com/gallery/main.php?g2_view=core.UserAdmin&g2_subView=core.UserLogin&g2 _return=%2Fgallery2%2Fmain.php%3F")), "_blank");




      On the server when I click the link button I am taken to this address:


      http://www.mysite.com/gallery/main.php?g2_view=core.UserAdmin&g2_subView=core.UserLogin&g2 _return=%252Fgallery2%252Fmain.php%253F


      There is a '25' being added after each % sign in the address. I suspect this is because of the php call in the address, but I'm at a loss about how to fix it.


      If anyone has any suggestions on how to fix this I would really appreciate it.