Skip to content

404 error when working with .htm servlet-mapping [SPR-10061] #14694

@spring-projects-issues

Description

@spring-projects-issues

Michael Isvy opened SPR-10061 and commented

I am getting a 404 error when working with the mvc namespace and using a .htm URL.
That issue did not exist prior to Spring 3.1.RC1.

Inside the PatternsRequestCondition used in my application, the only fileExtension available
is ".xml". My url has an extension of ".htm" so it is not matched. If I
change the servlet-mapping to "*.xml" and use a URL with ".xml" in
the end, it's working then.


Affects: 3.2 RC1, 3.2 RC2

Issue Links:

Referenced from: commits 9cc4bd8

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions