Browse Source

Replace decoded pipe character in querystring

Former-commit-id: 39d22fba9d3b3dc4e2bb9fa8e18fe4e1220634c1
pull/17/head
JimBobSquarePants 14 years ago
parent
commit
1ac19afe8b
  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