Hi everyone, and thanks for the great work!
I'm having some troubles with bypass, since I have to work with paths in the form
/a/strange/path/dotted:strange.string.that.may:happen
The problem is that both the expectation definition (hackable by using :any) and the call handling analyze the path directly using Plug's build_path_match function here, that finds the :strange.string.that.may and complain thinking it is a match's definition.
I opened a branch showing the issue with a test case here ( test )
Has anyone got any workaround for this particular case? I'd gladly try to provide a patch, if you have some indication if you already have an idea of how it could work.
Thank you!
Hi everyone, and thanks for the great work!
I'm having some troubles with bypass, since I have to work with paths in the form
/a/strange/path/dotted:strange.string.that.may:happenThe problem is that both the expectation definition (hackable by using
:any) and the call handling analyze the path directly using Plug'sbuild_path_matchfunction here, that finds the:strange.string.that.mayand complain thinking it is a match's definition.I opened a branch showing the issue with a test case here ( test )
Has anyone got any workaround for this particular case? I'd gladly try to provide a patch, if you have some indication if you already have an idea of how it could work.
Thank you!