[Bug 690734] Internal server error on very long URL