Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8361

The url validation function used when adding websites information to contacts and organizations does not allow hyphens '-' in the domain name.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 4.0.4
    • Fix Version/s: None
    • Component/s: CiviCRM Profile
    • Labels:
      None

      Description

      The error "Please correct the following errors in the form fields below: Enter a valid web location beginning with 'http://' or 'https://'. EXAMPLE: http://www.mysite.org/" is displayed if you try to enter a URL for the website of a contact or organization that includes a hyphen, such as in http://www.atoz-sado.com

      If I remove the hyphen, the contact or organization is saved without a problem.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              carlosmirandalevy Carlos Miranda Levy
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: