Problem/Motivation

When using the regex validation plugin, if a user comes to the search page with something already entered into the search input, like if they used the back button to get to the page, then it will not validate the input since the input has not changed.

Proposed resolution

Update the exclude_regex.js file to also check the value of the input on page load.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mkinnune created an issue. See original summary.

mkinnune’s picture

Status: Active » Needs review

timozura made their first commit to this issue’s fork.

timozura’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +search

Tested. Working. Going to the search page with keys already specified in the url query string parameters (key was a fake SSN), the search form catches it and prevents search.

timozura’s picture

Version: 1.8.1-rc1 » 1.8.2-rc1
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.