Fix #5671 - console routing not correct

This PR fixes problems in console route matching, reported in #5671:

* CamelCase is now treated as literal
* ALLCAPS defines value parameter

ping @Thinkscape

BTW, it doesn't merge cleanly with develop branch. What is a workflow for PRs here? Would it work if I did cherry-pick this, cleanup, commit, and create new PR against develop?