Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Servlets Resolver 2.9.2
-
None
Description
When a bundled script is provided without a real script but a resource super type, it gets a capability for the resource type and will be registered for that resource type (with the resource super type set). That is done to proxy the resource super type.
The problem is that the resolver will register a GET/HEAD servlet automatically for resource types that have no other properties set. Consequently, this setup ends up handling all GET requests while it should only handle requests for the default extension (i.e. it overrides requests for .json which would normally be handled by the default GET servlet).
The fix is for the resolver to not register these proxies as resource types servlets but bind them by path instead.