Not sure if what the correct behavior is, but Firefox and Opera pass the test in the URL and we do not. It can be reduced down to the unclose brace in the jumble of characters.
Created attachment 12899 [details] reduction
The bug was fixed along with bug 14346.