Revert "fix for jboss-as which fails if charset is not precisely set"

This reverts commit 661b9d8020a869d1277f5d9e78294fff8fb7a763.
restoring custom path param