Menu

#71 302 error

None
closed-fixed
None
5
2015-05-31
2009-02-19
Anonymous
No

if my fetch link such as
<?php
header("Location: http://www.a.com:999");
?>

Discussion

  • Gene Wood

    Gene Wood - 2015-05-31
    • status: open --> closed-fixed
    • assigned_to: Gene Wood
    • Group: -->
     
  • Gene Wood

    Gene Wood - 2015-05-31

    Thanks for the bug report. This issue has been fixed in Snoopy 2.0.0

    The test I used which works in Snoopy 2.0.0 and fails in Snoopy 1.2.5 is

    <?php
    include "Snoopy.class.php";
    $Snoopy = new Snoopy;
    $Snoopy->fetch("https://localhost/redirect.php");
    print_r($Snoopy);
    ?>
    

    where redirect.php contained

    <?php
    header("Location: http://localhost:81/");
    ?>
    

    You can get the new version of Snoopy 2.0.0 here

     

Log in to post a comment.