Trying to get a new site provision with an url like "drupal.local" is not possible due to the validation on the title/url. I don't see what the reason behind this restriction would be.
This patch removes the validation.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | hosting_site-317089-2.patch | 720 bytes | fp |
| hosting_site-site_url_validation.patch | 1.04 KB | fp |
Comments
Comment #1
fp commentedComment #2
fp commentedOne day, I will get it... :)
Comment #3
adrian commentedThere needs to be some form of validation to make sure the user creates valid urls =\
Comment #4
anarcat commentedAgreed, *some* sort of validation is necessary. We probably need to look in an RFC or something.
I do think that the current restrictions are too restrictive, however.
Comment #5
anarcat commentedhttp://en.wikipedia.org/wiki/FQDN
Comment #6
anarcat commentedThis is the CFG from RFC1035:
I have committed a fairly naive implementation of that syntax in my latest commit, please review http://drupal.org/cvs?commit=146806
Comment #7
fp commentedInspired from your commit, here's a patch that does the same job (I think...) in a fewer words and also allows domains starting with digits. Although it doesn't appear to be part of the RFC 1035 preferred syntax, I think we should allow it.
Comment #8
adrian commentedI agree domains should be able to start with digits (if you can register it, it should be allowed).
committed it.
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.