-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
I've the following testing URLs (which exists in Drupal 7):
/taxonomy/autocomplete/foo_bar
/taxonomy/autocomplete/foo.bar
These Drupal URLs normally works in Apache by giving the error:
Taxonomy field foo.bar not found.
When testing using drush rs, the second URL doesn't work properly and it gives the following error:
Not Found
The requested resource /taxonomy/autocomplete/aa.00 was not found on this server.
Log entry:
[Tue Sep 29 15:56:11 2015] 127.0.0.1:54729 [404]: /pca/retrievebyid/25764183.00 - No such file or directory
I've found this when implementing PCA and this callback.
So my local menu callback (pca/retrievebyid/1234.00) doesn't accepts the Id argument, because it's never gets passed into Drupal, as it consist dot (.). So for some reason drush is giving 404 page.
The easiest way to reproduce the problem is by running: drush qd.
I'm using drush rs for testing purposes.
I believe the error is could be somewhere in runserver_parse_uri(), but I'm not sure exactly how the URLs are handled.