Uploaded image for project: 'Commons Validator'
  1. Commons Validator
  2. VALIDATOR-251

url with brackets is not validated thru URLvalidator class.

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.3.1 Release
    • Fix Version/s: 1.4.0 Release
    • Component/s: Routines
    • Labels:
      None
    • Environment:

      Java 1.4

      Description

      Please let me know when VALIDATOR-218, Committed revision 590915 is gng on release.
      As the Below issue is already solved in the bug is VALIDATOR-218.

      I cannot find this bus fix in Relaese not for the latest version of commons jar.

      This is very critical for the my application currrent release.

      URLvalidator isValid() returns false for validation of urls's which have brackets "(" , ")" as one of the content.
      url with brackets in them are valid urls , as brackets () are part of the unreserved characters.

      We are using the URLValidator isValid() method to validate Urls.
      if (urlValidator.isValid(url)) {
      return true;
      }
      But one of the url is with brackets are rejected by this method.
      i am using 1.3.1 version.
      Is there something in latest version which already have have fix to this bug.
      or my understanding is not correct
      Please clarify.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                meenalgupta23 Meenal Gupta
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: