aboutsummaryrefslogtreecommitdiff
path: root/ServiceStack/Host/RestHandler.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-02-12 17:53:14 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-02-12 17:53:14 -0500
commita6e7438987ebd0ef2c44940f76e6efd487803e02 (patch)
treece2de4a9ecc13dc97eb8eeb5346de0e191ec6e5a /ServiceStack/Host/RestHandler.cs
parenta0f4a628dd1f7f374cd992aca97f5d50a70c3d02 (diff)
fix turkish character recognition problems
Diffstat (limited to 'ServiceStack/Host/RestHandler.cs')
-rw-r--r--ServiceStack/Host/RestHandler.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/ServiceStack/Host/RestHandler.cs b/ServiceStack/Host/RestHandler.cs
index 1eae6be38..abc346869 100644
--- a/ServiceStack/Host/RestHandler.cs
+++ b/ServiceStack/Host/RestHandler.cs
@@ -2,6 +2,7 @@ using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Threading.Tasks;
+using MediaBrowser.Model.Logging;
using MediaBrowser.Model.Services;
namespace ServiceStack.Host
@@ -54,11 +55,11 @@ namespace ServiceStack.Host
return requestFactoryFn != null ? requestFactoryFn(httpReq) : null;
}
- public static RestPath FindMatchingRestPath(string httpMethod, string pathInfo, out string contentType)
+ public static RestPath FindMatchingRestPath(string httpMethod, string pathInfo, ILogger logger, out string contentType)
{
pathInfo = GetSanitizedPathInfo(pathInfo, out contentType);
- return ServiceStackHost.Instance.ServiceController.GetRestPathForRequest(httpMethod, pathInfo);
+ return ServiceStackHost.Instance.ServiceController.GetRestPathForRequest(httpMethod, pathInfo, logger);
}
public static string GetSanitizedPathInfo(string pathInfo, out string contentType)
@@ -93,7 +94,7 @@ namespace ServiceStack.Host
if (this.RestPath == null)
{
string contentType;
- this.RestPath = FindMatchingRestPath(httpMethod, pathInfo, out contentType);
+ this.RestPath = FindMatchingRestPath(httpMethod, pathInfo, new NullLogger(), out contentType);
if (contentType != null)
ResponseContentType = contentType;