Skip to content

Redirect fake extension requests that don't have a querystring #8

@lilith

Description

@lilith

IIS6 and Classic Pipeline users often use the .ashx fake extension to enable resizing:

I.e, image.jpg.ashx?width=100

However, if the querystring is dropped, the request 404s because ImaegResizer isn't handling it.

image.jpg.ashx -> 404.

A more user-friendly behavior would be to 301 redirect to image.jpg in this situation. However, this should only happen if there are NO querystring values, since a typo would result in redirect frustration.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions