Issue 13786

Change in URL search characters

Reporter: feedback bot
Assignee: trobertson
Type: Feedback
Summary: Change in URL search characters
Priority: Blocker
Resolution: Fixed
Status: Closed
Created: 2013-09-06 14:15:56.474
Updated: 2013-09-27 13:56:46.034
Resolved: 2013-09-27 13:56:46.01
Description: For the story at, I input for the related resources link 'Occurrences of species listed'.

That link is transcribed as /[0]=5352650&TAXON_KEY[1]=3660652&TAXON_KEY[2]=2952823&TAXON_KEY[3]=3833515&TAXON_KEY[4]=7303627&TAXON_KEY[5]=7298618&TAXON_KEY[6]=7316881&TAXON_KEY[7]=7266082&TAXON_KEY[8]=2945821&TAXON_KEY[9]=5576757&TAXON_KEY[10]=5663185&TAXON_KEY[11]=3992461&TAXON_KEY[12]=4034071&TAXON_KEY[13]=5547323&TAXON_KEY[14]=4091431 on the UAT site, and leads to the full database rather than the filtered search the original URL led to.


Created: 2013-09-10 16:18:30.431
Updated: 2013-09-10 16:18:30.431
[] can you check how links are handled by drupal?....the link must be like the original one, the brackets were added by drupal ( i guess) 

Created: 2013-09-10 16:33:41.051
Updated: 2013-09-10 16:33:55.331

"It bears mentioning that the parse_str builtin does NOT process a query string in the CGI standard way, when it comes to duplicate fields.  If multiple fields of the same name exist in a query string, every other web processing language would read them into an array, but PHP silently overwrites them"


... but, as you can see, not a high priority for them.

So let's see what I'm doing wrong in the local patch that I keep in our local version of the module. :-s


Created: 2013-09-26 17:08:38.377
Updated: 2013-09-26 17:09:41.045
[] the issue is being already worked around on staging: basically [] agreed that we name the params as param-number and he'll rewrite them later by removing the "-number"

Update: you can see it working on 

Created: 2013-09-27 13:56:46.032
Updated: 2013-09-27 13:56:46.032
With the portal will now redirect the "XXX-Number" parameters correctly which Drupal is emitting.

An example of one of these links exists on the footer of page:

See the "All plant records from French Guiana, Surinam and Guyana available through GBIF" link.

[] [] Please reopen this and ping me if this is still an issue