Closed (works as designed)
Project:
Field Validation
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2012 at 21:29 UTC
Updated:
11 Nov 2012 at 07:30 UTC
FTPS is a valid protocol for URLs. FTP works... not that I need this myself currently, but I think this is incorrect behavior and should be fixed.
Comments
Comment #1
g089h515r806 commentedURL validator use valid_url() function to validate external url.
valid_url is a Drupal API function which does not support ftps.
valid_url support ftp, http, https or feed schemes.
Comment #2
hass commentedHm, well now I remember about this limitations. valid_url() is not the best function. It does not allow IDN urls and this becomes more and more a real problem.
Comment #3
g089h515r806 commenteduse Regex validator as a replacement, here is an expression for uri: