Hi,
I've installed my Drupal site in a brand new dedicated server. Everythings goes fine until it comes to "save" some data (for instance, a "view"). I got this error message:

Bad Request
Your browser sent a request that this server could not understand.
Client sent malformed Host header

and I have no idea why this might happen. Has anyone found this problem before? Any idea about how to fix it?

Thanks

Comments

Tramposo’s picture

It is now confirmed that this happens due to the precense of some characters like "%" in the URL's generated.

pjo’s picture

I have the same problem, how can I solve it?

drupalfantwo’s picture

Any help please :) thanks

drupalfantwo’s picture

My mistake code was

drupal_goto('../my_url_alias');

- it worked fine with Safari and Firefox but not with IE
- so what I did wast to put the whole url:
- note I have selected expert mode (php)

 drupal_goto('http://mydomain.com/my_url_alias');
sunilgananathan’s picture

aaaaaaaaaaaaaaaa