Welcome Guest, Not a member yet? Register   Sign In
CSRF makes problem on search page
#3

(This post was last modified: 12-13-2015, 05:17 AM by ardavan.)

thanks for reply,

I didn't get what i wanted, maybe i did wrongly.
here is what i did:
PHP Code:
$config['csrf_exclude_uris'] = array('http://localhost/index.php/search/results'); 
But seems CSRF still is enable for my search form!

what I'm doing is:
(page1) Search1: test one
(page2) Search2: test two

when i go back to the search1 page by clicking on the previous button on browser, now i wanna search again:
(page1)Search3: test tree
Then ill get this:
Code:
An Error Was Encountered
The action you have requested is not allowed.

what i need is the search box working without CSRF and login link works with CSRF !
Reply


Messages In This Thread
CSRF makes problem on search page - by ardavan - 12-12-2015, 01:41 AM
RE: CSRF makes problem on search page - by ardavan - 12-13-2015, 05:14 AM
RE: CSRF makes problem on search page - by scion - 12-13-2015, 05:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB