anchor.diff:        // adapter functions will be used to reconcile the differences in arguments, this is required because jquery and jquery-ujs has different ways to get the section_id argument
         function beforeSendHandler(section_id,jqXHR,settings) {
           var id = "#" + section_id; // element id we are looking for
  -        var requesturl = settings.url;
  +        var requesturl = decodeURI(settings.url);
           var countid = $('[id="' + section_id + '"]').length;
           if (countid != 1) { // something wrong, cannot find unique section to load page into
             <% if AjaxPagination.warnings %>
  
positive.code:       $(document).on("ajax:before",$.rails.inputChangeSelector, function() {
          var section_id = $(this).data('ajax_section_id');
          if (section_id === undefined) return true; // this is not an AJAX Pagination AJAX request
          var url = $(this).data('url');
          if ($.rails.fire(getSection(section_id),"ajaxp:before",[url,$(this).data('method')])) {
            var ajaxurl = $.param.querystring(url,{ajax_section:section_id});
            $(this).data('url',ajaxurl);
  
negative.code:         var data = $("#" + section_id).data("pagination");
          if (data === undefined || data.history === undefined || data.history) { // check that history is not disabled
            // construct visible url
            var data = $.deparam.querystring($.url(decodeURI(url)).attr('query'));
            delete data['ajax_section'];
            pagination_url = decodeURI($.param.querystring(url,data,2));
            if (isReload(section_id,url,decodeURI(location.href))) History.replaceState(history_state,document.title,pagination_url);
            else { // not just a reload of current page, so do actual pushState
              // change current history state, and push it on
              if (history_state.ajax_pagination === undefined) history_state.ajax_pagination = new Array();
  