this.route('worker', {
path: 'praca-sprzątanie'
}, function () {
this.route('city', {
path: 'kczewo'
});
});
When going on praca-sprzątanie/kczewo, route is properly recognized but dynamic segement is passed down as null. Code does behave correctly with ENCODE_AND_DECODE_PATH_SEGMENTS turned off.



Problem comes down to fact that originalPath is not decoded anyhow but later on it's used inside regular expression.
Is there any way to overwrite ENCODE_AND_DECODE_PATH_SEGMENTS flag from ember application till the issue will be resolved?
Issue was observed on ember 3.4.0
When going on praca-sprzątanie/kczewo, route is properly recognized but dynamic segement is passed down as null. Code does behave correctly with
ENCODE_AND_DECODE_PATH_SEGMENTSturned off.Problem comes down to fact that
originalPathis not decoded anyhow but later on it's used inside regular expression.Is there any way to overwrite
ENCODE_AND_DECODE_PATH_SEGMENTSflag from ember application till the issue will be resolved?Issue was observed on ember 3.4.0