aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/rack/parse_query.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_dispatch/rack/parse_query.rb')
-rw-r--r--actionpack/lib/action_dispatch/rack/parse_query.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/actionpack/lib/action_dispatch/rack/parse_query.rb b/actionpack/lib/action_dispatch/rack/parse_query.rb
deleted file mode 100644
index 15de720f14..0000000000
--- a/actionpack/lib/action_dispatch/rack/parse_query.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# Rack does not automatically cleanup Safari 2 AJAX POST body
-# This has not yet been commited to Rack, please +1 this ticket:
-# http://rack.lighthouseapp.com/projects/22435/tickets/19
-
-module Rack
- module Utils
- alias_method :parse_query_without_ajax_body_cleanup, :parse_query
- module_function :parse_query_without_ajax_body_cleanup
-
- def parse_query(qs, d = '&;')
- qs = qs.to_s.dup
- qs.chop! if qs[-1] == 0
- qs.gsub!(/&_=$/, '')
- parse_query_without_ajax_body_cleanup(qs, d)
- end
- module_function :parse_query
- end
-end