mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-09-04 05:30:44 +00:00
fix turkish character recognition problems
This commit is contained in:
parent
a0f4a628dd
commit
a6e7438987
6 changed files with 97 additions and 239 deletions
|
|
@ -22,10 +22,19 @@ namespace ServiceStack
|
|||
}
|
||||
|
||||
string contentType;
|
||||
var restPath = RestHandler.FindMatchingRestPath(httpReq.HttpMethod, pathInfo, out contentType);
|
||||
if (restPath != null)
|
||||
return new RestHandler { RestPath = restPath, RequestName = restPath.RequestType.GetOperationName(), ResponseContentType = contentType };
|
||||
var restPath = RestHandler.FindMatchingRestPath(httpReq.HttpMethod, pathInfo, logger, out contentType);
|
||||
|
||||
if (restPath != null)
|
||||
{
|
||||
return new RestHandler
|
||||
{
|
||||
RestPath = restPath,
|
||||
RequestName = restPath.RequestType.GetOperationName(),
|
||||
ResponseContentType = contentType
|
||||
};
|
||||
}
|
||||
|
||||
logger.Error("Could not find handler for {0}", pathInfo);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue