This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Regexp to block URL

Hello Al,

I am fighting with blocking the URL using rex exp. Kindly ask for advise.

The case is to block access to URL with following strings:

*/v2/*/manifests/*
*/v2/*/blobs/*

I was trying with following:

^https?://.*v2.*blobs

or

^https?://.*v2.*blobs.*

or even

.*v2.*

The first 2 are not working at all

The last is working only for something like https://v2.com/ but for https://aaa.com/v2 not

Can You please advise?



This thread was automatically locked due to age.
Parents Reply Children