Regression in symfony 2.4.3 causes malformed urls