Side navigation
#6924 closed feature (wontfix)
Opened August 20, 2010 01:24PM UTC
Closed April 16, 2011 08:49PM UTC
Global option for changing GET-separators
Reported by: | Hasenpfote | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | ajax | Version: | 1.4.2 |
Keywords: | needsreview,ajaxrewrite | Cc: | |
Blocked by: | Blocking: |
Description
W3C recommends the using ";" instead of "&" as a separator in a url-query.
jquery should have the possibility to change the separator via a global option.
s. also forum topic:
http://forum.jquery.com/topic/ajax-cache-change-the-separator
Attachments (0)
Change History (9)
Changed August 21, 2010 12:48AM UTC by comment:1
Changed August 21, 2010 12:48AM UTC by comment:2
component: | unfiled → ajax |
---|
Changed October 15, 2010 04:30AM UTC by comment:3
keywords: | → needsreview |
---|---|
priority: | → undecided |
This smells like bikeshed/feature creep. Marking for review.
Changed November 12, 2010 02:39AM UTC by comment:4
milestone: | 1.4.3 |
---|
Resetting milestone to future.
Changed December 27, 2010 10:37PM UTC by comment:5
keywords: | needsreview → needsreview,ajaxrewrite |
---|
Changed April 16, 2011 08:47PM UTC by comment:6
milestone: | → 1.next |
---|---|
priority: | undecided → low |
status: | new → open |
Could be interesting - let's discuss this during the 1.7 roadmap discussion.
Changed April 16, 2011 08:48PM UTC by comment:7
resolution: | → fixed |
---|---|
status: | open → closed |
On second thought, let's push this off to a plugin (since Ajax is extensible now) - and we can reintegrate it later.
Changed April 16, 2011 08:49PM UTC by comment:8
resolution: | fixed |
---|---|
status: | closed → reopened |
Changed April 16, 2011 08:49PM UTC by comment:9
resolution: | → wontfix |
---|---|
status: | reopened → closed |
Wow, I don't think I ever knew that, or if so I have forgotten it thoroughly. Seems like several projects have been asked about this:
http://dev.rubyonrails.org/ticket/4394
http://groups.google.com/group/prototype-core/browse_thread/thread/14b8aa4d6fbe2c22/b8c4776f02075b43
http://davidwalsh.name/change-php-query-string-variable-separator-php-ini
One possible implementation would be to add a variable like jQuery.ajaxSettings.paramSeparator and also allow that to be passed in via ajax options. At the moment we have a couple of global regexps compiled at load time that use ampersand to recognize urls. Those would need to be recreated at each call to $.ajax instead.