Menu

#9 ampoliros/admin/magellanpages.php: Incorrect preview URL

Error
open
nobody
Magellan (1)
5
2003-09-30
2003-09-30
Anonymous
No

A preview URL is constructed after call to the function
parse_url() with $env['sitedata']['siteurl'] as input. If
this value is empty, as it is when you don't fill in the site
url on creating the site, then the preview URL will start
with ://. This will not work. The output of parse_url
should be tested before using it to construct a URL. I've
submitted a patch.

</Flay>

Discussion

  • Nobody/Anonymous

    Patch for bug

     
  • Matt Flaherty

    Matt Flaherty - 2003-09-30

    Logged In: YES
    user_id=877233

    I accidentally posted this anonymously. Sorry, this is who I am

    </Flay>

     

Log in to post a comment.

MongoDB Logo MongoDB