Please, let me know if you don't understand my issue. On Jul 14, 5:19 pm, "julien.levass...@gmail.com" <julien.levass...@gmail.com> wrote: > Hi , > > I use sfWebBrowser like this : > > $wbrowser = new sfWebBrowser(array(), 'sfCurlAdapter', array( > 'followlocation' => false, > )); > > So, as you can see I dont want to follow redirection. > > In curl adapteur the opt CURLOPT_FOLLOWLOCATION is set to false. > > The problem is line 219 from sfWebBrowser.class.php. > > The redirection is made even if CURLOPT_FOLLOWLOCATION is set to > false. > > So, there is something i don't understand, or there is an error in > this if statement: > if ((in_array($browser->getResponseCode(), array(301, 307)) && > in_array($method, array('GET', 'HEAD'))) || in_array($browser- > > >getResponseCode(), array(302,303))) > > What do you think ? > > I use symfony 1.1.6 and sfWebBrowserPlugin 1.1.2. > > Thank you,
-- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en