Refactor ActionDispatch::Http::Parameters#normalize_encode_params
Merge pull request #10839 from gsamokovarov/clean-normalize_encoded_paths

Refactor ActionDispatch::Http::Parameters#normalize_encode_params