Browse Source

Replace decoded pipe character in querystring

Former-commit-id: f3a078e1a6d462de1305c5f56d832259e772369f
pull/17/head
JimBobSquarePants 14 years ago
parent
commit
3a378b075d
  1. 2
      src/ImageProcessor.Web/HttpModules/ImageProcessingModule.cs

2
src/ImageProcessor.Web/HttpModules/ImageProcessingModule.cs

@ -83,7 +83,7 @@ namespace ImageProcessor.Web.HttpModules
if (isRemote)
{
// We need to split the querystring to get the actual values we want.
string[] paths = HttpUtility.UrlDecode(context.Request.QueryString.ToString()).Split('?');
string[] paths = HttpUtility.UrlDecode(context.Request.QueryString.ToString()).Replace("%7c", "|").Split('?');
path = paths[0];

Loading…
Cancel
Save