Feature #3336
Support for exclusions for copilot url
Description
Today, the user can add "<regex>" to list of regexes and if these regexes are present in the requested o-url, showCopilot is returned as true in the API response.
Please add support for user to add "-<regex>" to the list. In this case, if this regex is present in the requested o-url, showCopilot should be returned as false in the API response.
So, example could be ["*007*", "-/", "-/pricing", "-/about", "-/contact", "-/blog*", "-/*badminton*"]. In this case, showCopilot would be returned as false for
-fqdnp/
-fqdnp/pricing
-fqdnp/about
-fqdnp/contact
-fqdnp/blog
-fqdnp/blog123
-fqdnp/top-5-best-badminton-racket-under-1500-playos-ultimate-guide/
-fqdnp/classes/objects/blog123
but true for
-fqdnp/classes/what007/modules
-fqdnp/blog007
-fqdnp/blog-what-is-ai-007
[Note : if both "-<regex>" and "*<regex>*" are present in the URL, and we can prioritize "*<regex>*" over "-<regex>" and return true based on the "*<regex>*" condition.]
where fqdnp is meant to be http://domainName or https://domainName.
Updated by Md Shahzar about 1 year ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Updated by Md Shahzar about 1 year ago
- Status changed from Resolved to Review
- Assignee changed from Md Shahzar to Abhijata Sen
Updated by Venmuhilan B about 1 year ago
- Description updated (diff)
- Status changed from Review to Reopened
- Assignee changed from Venmuhilan B to Md Shahzar
Updated by Md Shahzar about 1 year ago
- Status changed from Resolved to Review
- Assignee changed from Md Shahzar to Venmuhilan B
Updated by Venmuhilan B about 1 year ago
- Description updated (diff)
- Status changed from Review to Reopened
- Assignee changed from Venmuhilan B to Md Shahzar
Updated by Md Shahzar about 1 year ago
- Status changed from Resolved to Review
- Assignee changed from Md Shahzar to Venmuhilan B
Updated by Venmuhilan B about 1 year ago
- Status changed from Review to Feedback
- Assignee changed from Ayush Khandelwal to Venmuhilan B