If a path contains unicode characters, it will be stored urlencoded internally by Drupal. When using jump menu format and a path containing those urlencoded characters, the jump menu link will do encode the % character again: %E6%9C%AC would become %25E6%259C%25AC.

In addition, when javascript is disabled, it seems that the ctools form that would do a post when a user choose an item from the drop-down menu and press Go, the ctools code would urlencode %25E6%259C%25AC again, and of course 404 errors were resulted.

Attached 2 patches in an attempt to fix this, one for Views, and one for CTools. Hope someone will find them useful.

Comments

dawehner’s picture

Project: Views (for Drupal 7) » Chaos Tool Suite (ctools)
Version: 7.x-3.0-rc3 » 7.x-1.x-dev

Let's fix this first in ctools as there is the original jump menu implementation.

merlinofchaos’s picture

Status: Needs review » Fixed

Committed and pushed the CTools version.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

kiaraz’s picture

Issue summary: View changes
StatusFileSize
new741 bytes

I have revised the patch for views "views-jumpmenuurlencodefix.diff". The new version of this patch is attached file.

Thank You.