Changes between Initial Version and Version 2 of Ticket #25418


Ignore:
Timestamp:
Sep 17, 2015, 11:31:56 AM (9 years ago)
Author:
Tim Graham
Comment:

I believe the idea of URLValidator is to recognize URLs that usually work without some special DNS setup. I feel like this proposal has come up before and been rejected. If so, we should document the restriction (and how to lift it in your own validation) to try to prevent it from being proposed again and again.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25418

    • Property Component Core (URLs)Core (Other)
    • Property Triage Stage UnreviewedAccepted
    • Property Type UncategorizedBug
    • Property Version 1.8master
  • Ticket #25418 – Description

    initial v2  
    11Hi,
    22on the LAN, we don't use full scheme of host + domain + tld, so it could be fine if we could change this
    3 
     3{{{
    44    host_re = '(' + hostname_re + domain_re + tld_re + '|localhost)'
    5 
     5}}}
    66to
    7 
     7{{{
    88    host_re = '(' + hostname_re + domain_re + tld_re + '|' + hostname_re + '|localhost)'
    9 
     9}}}
    1010regards
Back to Top