Skip to content

Commit

Permalink
Merge pull request #441 from red5pro/bug/RPRO-8995
Browse files Browse the repository at this point in the history
fix regular expression for create composition
  • Loading branch information
ankita-red5 authored Dec 1, 2021
2 parents 9c069c0 + 01f4efb commit cc84be7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
})

const isValidString = (string) => {
return string.length <= 255 && !!string.match(/^[0-9a-z]+$/)
return string.length <= 255 && !!string.match(/^[\/0-9-_A-Za-z]+$/)
}

const getMixingPageFromSelector = (selection) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
}

const isValidString = (string) => {
return string.length <= 255 && !!string.match(/^[0-9a-z]+$/)
return string.length <= 255 && !!string.match(/^[\/0-9-_A-Za-z]+$/)
}

let mixers = []
Expand Down

0 comments on commit cc84be7

Please sign in to comment.