Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1476 from jugglingnutcase/patch-2

Fix typo
  • Loading branch information...
commit 6762221912bc77af7c43c8b11992b26baab7ca5d 2 parents 0080553 + 660f919
@thecodejunkie thecodejunkie authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Nancy/Responses/GenericFileResponse.cs
View
4 src/Nancy/Responses/GenericFileResponse.cs
@@ -64,7 +64,7 @@ public GenericFileResponse(string filePath, NancyContext context)
/// <param name="context">Current context</param>
public GenericFileResponse(string filePath, string contentType, NancyContext context = null)
{
- InitializeGenericFileResonse(filePath, contentType, context);
+ InitializeGenericFileResponse(filePath, contentType, context);
}
/// <summary>
@@ -101,7 +101,7 @@ static bool IsSafeFilePath(string rootPath, string filePath)
return fullPath.StartsWith(rootPath, StringComparison.OrdinalIgnoreCase);
}
- private void InitializeGenericFileResonse(string filePath, string contentType, NancyContext context)
+ private void InitializeGenericFileResponse(string filePath, string contentType, NancyContext context)
{
if (string.IsNullOrEmpty(filePath))
{
Please sign in to comment.
Something went wrong with that request. Please try again.