Allow token requests to contain other querystring arguments. (needed by Tetris DS)

This commit is contained in:
Greg Edwards 2014-09-12 01:28:06 -04:00
parent 5dc48aad01
commit d39942196c

View File

@ -76,7 +76,8 @@ namespace GamestatsBase
if (qmPos >= 0)
rawPath = rawPath.Substring(0, qmPos);
if (context.Request.QueryString.Count == 1)
if (context.Request.QueryString["data"] == null &&
context.Request.QueryString["hash"] == null)
{
// this is a new session request
GamestatsSession session = CreateSession(pid, rawPath);