alexkvak / teamcity-slack

TeamCity Slack plugin
MIT License
124 stars 23 forks source link

Adding a negative lookbehind regex makes interface disappear #98

Closed ricjspa closed 4 years ago

ricjspa commented 4 years ago

Steps to reproduce

  1. Enable plugin
  2. Navigate to 'Settings' for a build
  3. Add a slack notification rule
  4. Set the regex to: .*(?<!--private)$
  5. Interface dissapears

This is almost certainly due to the '<!--' part of the regex not being escaped for HTML output.

alexkvak commented 4 years ago

@ricjspa Thanks for the report!