Improve Extensionless mapping
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 127
- Forks
- 59
- Avg merge
- 23h
- Merged PRs (30d)
- 7
Description
trying the "new" extensionless mapping on faces 4.0
but the url mapping with ".xhtml" should 301 to the same page without extension
otherwise you will end with duplicate contents
e.g.
GET /contacts.xhtml -> 301 -> /contacts
To me the correct implementation is the Omnifaces one, that should be the only one, also
with Params mapping/rewriting support with annotation:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing extensionless URL mapping in Jakarta Faces and compare its behavior with the OmniFaces ExtensionlessURLs reference linked in the issue. Verify the redirect from /contacts.xhtml to /contacts, then investigate parameter mapping and rewriting with annotation support. Done means extension URLs redirect without duplicate content and the requested parameter behavior is covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100