The proxy port must be a positive integer and Drupal core has a handy function to validate such a case. The element_validate function element_validate_integer_positive should be used to validate the proxy port.

CommentFileSizeAuthor
#1 validate-proxy-port-1814290-1.patch531 bytesdevin carlson

Comments

devin carlson’s picture

Status: Active » Needs review
StatusFileSize
new531 bytes

A patch to validate the proxy port with element_validate_integer_positive.

devin carlson’s picture

Status: Needs review » Fixed

Committed to 7.x-1.x.

Status: Fixed » Closed (fixed)

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