Browse Source

Added more characters to streamKey check

master
Shyim 7 years ago
parent
commit
f87b1efe56
  1. 2
      public/static/js/app.js
  2. 2
      src/Controller/Streams.php

2
public/static/js/app.js

File diff suppressed because one or more lines are too long

2
src/Controller/Streams.php

@ -317,6 +317,6 @@ class Streams extends Controller @@ -317,6 +317,6 @@ class Streams extends Controller
*/
private function isValidString(?string $string)
{
return preg_match('/^[a-z|A-Z|a-z|A-Z|0-9|.|\-|_|\{|\}|\:|\/]+$/', $string);
return preg_match('/^[a-z|A-Z|a-z|A-Z|0-9|.|\-|_|\{|\}|\:|\/|=|&|?]+$/m', $string);
}
}
Loading…
Cancel
Save