Closed (fixed)
Project:
Google Analytics
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Oct 2010 at 07:46 UTC
Updated:
20 Oct 2010 at 23:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
hass commentedDo you know how we can upgrade this code to get it working again? No idea why this function has been removed. Any new function that does the same?
Comment #2
gábor hojtsyI took some time looking at the code, but could not find where was this gone and what's in place instead.
Comment #3
hass commentedQuick and dirty... untested.
But the previous solution was also a bit like a hack. The main reason is there was no way to grab the search keys. Maybe we can implmement a cleaner way in D7... not sure.
Comment #4
hass commentedTried to repro, but the Search in D7 seems to be completly broken. I cannot fire a search... I only get a browser error page
Error 101 (net::ERR_CONNECTION_RESET): Unknown error.EDIT: sh** Devel... disabled and it works.
Comment #5
hass commentedOne more bug inside... and drupal_json_encode() may cause new issues here as there are extra slashes inside that haven't been there in past and I have no idea how to remove them. URL is also encoded in a wrong way... Very bad. Need to be tested very carefully. We may up cloning url() and drupal_json_encode() to make it work like it was in D6.
Comment #6
hass commenteddrupal_http_build_query() seems to be the source of all encoding problems... :-(((
Comment #7
hass commentedrawurldecode() what url() have encoded.
Comment #8
hass commentedNeeds good testing, but has been committed for now.
Comment #9
hass commentedFollowup #934076: Refactor search keyword tracking with hook_search_preprocess