Skip to content

Add validation for length of push rules regex fields

Vasilii Iakliushin requested to merge add_validation_for_push_rules into master

What does this MR do and why?

Contributes to #407722 (closed)

Problem

We don't verify length of the regex related fields for push rules.

Solution

Add Rails based validation to return a human-friendly error for values above the limit.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Vasilii Iakliushin

Merge request reports

Loading