[TASK] Add support for invalid URI patterns