• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[FIXED] base url getting '?' appended in 2.0 reactor

#1
[eluser]matt2012[/eluser]
For example in a form view I have action="/login"

when I open the page in a browser and look at the source I get my.domain.com/?login which is redirecting to home page.

#2
[eluser]matt2012[/eluser]
This problem was due to me using the config code from my 1.7.2 site which had
Code:
$config['enable_query_strings'] = TRUE;

in 2.0 to prevent this behaviour we should have
Code:
$config['enable_query_strings'] = FALSE;
we can use this instead
Code:
$config['allow_get_array']        = TRUE;


There is no mention of this in

http://ellislab.com/codeigniter/user-gui...e_200.html


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.