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.

CommentFileSizeAuthor
#1 slashes-1283708-1.patch845 bytesedb

Comments

edb’s picture

Status: Active » Needs review
StatusFileSize
new845 bytes

Patch

stborchert’s picture

Slashes 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 ...

edb’s picture

It 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.

danielhonrade’s picture

thanks for this patch and module, I just integrated this module to mine, http://drupal.org/project/om_maximenu

stborchert’s picture

Status: Needs review » Fixed

Uhm, totally forgot this one. Committed (slightly modified version) and created a new release.

Status: Fixed » Closed (fixed)

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