Various versioning fixes

This commit is contained in:
kexkey
2018-12-21 12:21:28 -05:00
parent f9e86fd116
commit 9ef48fea2c
14 changed files with 76 additions and 45 deletions

View File

@@ -87,8 +87,8 @@ verify_group()
trace "[verify_group] Verifying group..."
local id=${1}
# REQUEST_URI should look like this: /watch/2blablabla
local action=$(echo "${REQUEST_URI#\/}" | cut -d '/' -f1)
# REQUEST_URI should look like this: /v0/watch/2blablabla
local action=$(echo "${REQUEST_URI#\/}" | cut -d '/' -f2)
trace "[verify_group] action=${action}"
# Check for code injection