Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #698 from JimBobSquarePants/defect/604
Browse files Browse the repository at this point in the history
Sanitise request check. Fix #604
  • Loading branch information
JimBobSquarePants committed Aug 30, 2018
2 parents a33659a + 5df40fd commit 6b25968
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -457,7 +457,7 @@ protected virtual async Task<bool> IsUpdatedAsync(DateTime creationDate)

try
{
if (new Uri(this.RequestPath).IsFile)
if ((Uri.IsWellFormedUriString(this.RequestPath, UriKind.Absolute)) && (new Uri(this.RequestPath).IsFile))
{
if (File.Exists(this.RequestPath))
{
Expand Down

0 comments on commit 6b25968

Please sign in to comment.