When entering an invalid hostname in the regexurl field, a warning comes up (preg_match(): Compilation failed: nothing to repeat at offset 0...) and the (invalid) environment settings will be saved.

CommentFileSizeAuthor
#1 validate-regexpurl-2204685-1.patch620 bytessender
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sender’s picture

Assigned: sender » Unassigned
Status: Active » Needs review
FileSize
620 bytes

This patch adds validation for the regexpurl field.

Elijah Lynn’s picture

Issue summary: View changes

  • Commit b7268c1 on 7.x-2.x authored by sender, committed by e0ipso:
    Issue #2204685 by sender: Form validation for regular expressions.
    
e0ipso’s picture

Status: Needs review » Fixed

Committed and fixed. Thanks for contributing sender and Elijah Lynn!

Status: Fixed » Closed (fixed)

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