If an autocomplete query has a slash in it, it is seen as an extra argument so autocomplete does nothing. This may be because by default Apache does accept encoded slashes in URL's and the way core does autocomplete it is necessary for the AllowEncodedSlashes directive to be turned on. Attached below is a patch that accepts a query with a slash in it and will function as expected as long as your Apache server configuration is correctly set up.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | slashes-1283708-1.patch | 845 bytes | edb |
Comments
Comment #1
edb commentedPatch
Comment #2
stborchertSlashes in autocomplete is a general problem in Drupal.
See #93854: Allow autocompletion requests to include slashes for further details.
I tend to mark this as a duplicate of #1024188: External URLs trigger Javascript alerts ...
Comment #3
edb commentedIt is a general problem in drupal with apache. If you set up your server to allow encoded slashes in the URL slashes and autocomplete will work as intended. MPAC, however, will not, without this patch.
Comment #4
danielhonrade commentedthanks for this patch and module, I just integrated this module to mine, http://drupal.org/project/om_maximenu
Comment #5
stborchertUhm, totally forgot this one. Committed (slightly modified version) and created a new release.