bug fix: ss returns http code 403 for routes ending same way as the api route prefix

For example:
/ts/Utilities/GetStats where /ts/ prefix is same as end of word Stats
/api/Utilities/Testapi where /api/ prefix is same as end of word Testapi