Skip to content

Error with Qute templates with dot in the names #46254

@ia3andy

Description

@ia3andy

Describe the bug

2025-02-13 15:15:36,584 ERROR [io.qua.qut.web.run.QuteWebHandler] (vert.x-worker-thread-1) Appropriate template variant not found [text/html, application/xhtml+xml, image/avif, image/webp, image/apng, application/xml;q=0.9, /;q=0.8, application/signed-exchange;v=b3;q=0.7]: /some-page.1

This bugs appears in qute-web but seems to be due to an underlying Qute issue when registering template Variants.

Expected behavior

It should work propertly

Actual behavior

Error

How to Reproduce?

https://github.com/ia3andy/reproducer-dot-qute

run quarkus dev and hit http://localhost:8080/some-page.1

there is also a NPE on http://localhost:8080/some-page

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

3.18

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

Metadata

Metadata

Assignees

Labels

area/quteThe template enginekind/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions