I am migrating an Drupal 6 site to Drupal 7. I encountered some behavior, I cannot explain and would like to ask the community.
As I was testing if all urls work, I noticed, that there are urls like
?), which return
200 on Drupal 6 site and
404 on Drupal 7 one. (Normal urls like
example.com/node?a=b are served with 200)
As I understand, these urls are not correct (maybe lost the question mark on copy/paste), but I think it is still better to serve the page, because the main part of the url is correct. Even better would be to redirect to the correct page with
But I cannot find, if the problem is in the Nginx configuration or if it is a desired behavior on Drupal 7. I am using the Nginx configuration example from http://wiki.nginx.org/Drupal.
Maybe someone could tell, if this behavior (404 on links without question mark is default for Nginx or Drupal 6/7)?
Edit: the malformed links come from access.log, there are some clients, which try to fetch them. Mostly search engines and bots.