Fix an issue where router can't recognize downcased url encoding path.
Merge pull request #12276 from kennyj/fix_12269

Fix an issue where router can't recognize downcased url encoding path.