- make code strictly compatible to Java 1.6
- do not decode urls in unit test (they are decoded only in the
frontend)