Skip to content

Conversation

@thomaslow
Copy link
Collaborator

@thomaslow thomaslow commented Nov 26, 2025

This PR enables the Jakarta Faces option jakarta.faces.AUTOMATIC_EXTENSIONLESS_MAPPING that is available after the Java/Tomcat update to the Faces 4 specification, see MyFaces 4 options.

This allows to get rid of the ugly .jsf extension inside all urls:

  • old URL: /kitodo/pages/login.jsf
  • new URL: /kitodo/pages/login

The upcoming Kitodo.Production 4.0 release might be a good opportunity to implement such a breaking change that might cause additional migration efforts, e.g., when adjusting deployment configurations or updating monitoring scripts that assume certain URLs.

@thomaslow thomaslow force-pushed the remove-jsf-from-urls branch from a0f9651 to 777e72a Compare December 5, 2025 10:11
@thomaslow thomaslow force-pushed the remove-jsf-from-urls branch from 777e72a to 11217a2 Compare December 9, 2025 15:44
@thomaslow thomaslow marked this pull request as ready for review December 9, 2025 16:13
@solth
Copy link
Member

solth commented Dec 11, 2025

If backwards compatibility for existing bookmars etc. with the .jsf extension is required, this could perhaps be achieved using the Tomcat "rewrite valve" functionality: https://tomcat.apache.org/tomcat-9.0-doc/rewrite.html

@solth solth added this to the Kitodo.Production 4.0.0 milestone Dec 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants