Closed (fixed)
Project:
Community Tags
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Oct 2009 at 02:22 UTC
Updated:
17 Mar 2011 at 20:55 UTC
Jump to comment: Most recent file
Comments
Comment #1
entrigan commentedWhat do you mean "tags that are sub-strings"? Like if I have one tag: "abcd", and then I try to tag "abc"?
Thanks :)
Comment #2
entrigan commentedComment #3
chaps2 commentedI can't reproduce this. @witti - I've gone with entrigan's interpretaion in #1 for which there doesn't seem to be a problem. Could you give more details please?
Comment #4
stackpr commentedI do not recall the specifics of how it impacted substrings. However, the patch changes how ampersands are encoded for the POST -- try a test with a tag like "test & test". I do not see any obvious problems with substrings, so that can probably be disregarded. Also, the patch is cleaned up slightly now. If ampersands are treated how you want them to be handled, feel free to close.
Comment #5
chaps2 commentedThanks for looking into this again after more than 12 moths and thanks for the patch. In the end I fixed it by replacing calls to Dupal.encodeURIComponent (for paths only) in Drupal.serialize with the standard JS encodeURIComponent. I also name-spaced Drupal.serialize whilst I was there.
Committed and included in new releases 7.x-1.0-beta2 and 6.x-1.0-beta5.
Comment #6
stackpr commented