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

Strange behaviour of Url to Block

Hello, 
in "Url to block" I have this entry: twitter.com. I know, I should modify a little the regex string because in this way it wuold be blocked also "www.aaaa.com/twitter.com", but.. I have noticed that also replacing the "." with the "-" astaro blocks the web site. If I try to access to "www.aaaa.com/twitter-com" astaro shows blocked content page! Is it normal?


This thread was automatically locked due to age.
Parents
  • Here is what I have tried in URL to block I added twitter.com and it is blocked as expected, but when I change the to . to - in the URL to block I can open twitter.com and it isn't block.
    v 7.508
Reply
  • Here is what I have tried in URL to block I added twitter.com and it is blocked as expected, but when I change the to . to - in the URL to block I can open twitter.com and it isn't block.
    v 7.508
Children
  • Here is what I have tried in URL to block I added twitter.com and it is blocked as expected, but when I change the to . to - in the URL to block I can open twitter.com and it isn't block.
    v 7.508


    Hello, 
    perhaps I didn't describe clearly the issue [:)]

    In the url to block there is always "twitter.com" (I don't change here "." in "-"). In this case: 



    Anyway I change the url to block with: https?://[A-Za-z0-9\-\.]+\.twitter.com/ but I am curious to know if what I described is a bug or not. [:D]


    bye
    eclipse79

    EDIT: I just tested the regex here http://www.quanetic.com/Regex. It is not a bug... I have some difficulties with regex! The "." (dot) can be replace with everything, so also www.twitterkcom matches the pattern