Skip to:
Content
Pages
Categories
Search
Top
Bottom

register-success.php?use_url returns warning message and discloses path

  • accessing:

    http://www.site.com/forums/register.php?use_url=http://www.amazon.com

    returns the following error:

    Warning: parse_url(/forums/register.php?use_url=http://www.amazon.com) [function.parse-url]: Unable to parse url in /server/path/disclosed/forums/bb-includes/functions.php on line 1796

    workaround:

    call error_reporting(0) in functions.php or disable php

    error reporting altogether (if you are in a hosted environment, you probably won’t be able to do this last thing).

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar