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

Policy test URL validation missing tld

Hi All

Does anyone know how to resolve this issue please?

Using the Policy Test to check a user's access to a url is giving an error message of "Please enter a valid protocol://address:port url"
The url is https://aaa.aaaaaa.hosting/aaaaaaaa.
If I change just the tld in the url, to say, https://aaa.aaaaaa.com/aaaaaaaa, or any other common tld it's happy.

I'm guessing the url's being parsed & compared to a list of tlds as I type?
Is it a list we can edit?
If not, any idea who maintains it?


Many thanks.



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

    I'm not understanding what the category has got to do with it unfortunately.
    The fact its category is 'None' just means that it gets blocked by default on our system & we add it to an allowed url group.

    The issue is that as soon as I put in ANY url that has a tld of 'hosting' the Policy Test tool tells me that I have entered an invalid URL.
    It could have a category of anything, but if the Policy Test tool will not accept it as a valid url then I can't test the results of anything I do to affect access to it.

    This is a Policy Test tool issue not a categorisation issue surely?

    Not a valid URL according to the tool


     

    A valid URL according to the tool



    Many thanks.

  • Hello Roderick,

    It does seem we have a limitation on the number of characters the tld would support and found it to be 6 characters. 

    so in otherwords, the policy test has some restrictions and would work if tld<7 characters. In this case "hosting" is 8 characters and would work with 6 or less characters.

  • Hi Aditya


    That could be a bit of a problem for people.

    There are 512 top level domains approved by the IANA that are longer that 6 characters. 512
    The longest at the moment is 24 characters.
    (http://data.iana.org/TLD/tlds-alpha-by-domain.txt)

    How on earth did a maximum of 6 get approved?

    Can we add this to a fairly urgent fix list for the Policy Test tool please?


    Many thanks

  • Hello Roderick,

    We have an improvement scheduled to add 256 characters and also notified to development team to improve this limitation on long TLD.