Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ProtocolHelper to Manage URL Protocols #2819

Closed
marevol opened this issue Jun 17, 2024 · 0 comments
Closed

Add ProtocolHelper to Manage URL Protocols #2819

marevol opened this issue Jun 17, 2024 · 0 comments
Assignees
Milestone

Comments

@marevol
Copy link
Contributor

marevol commented Jun 17, 2024

We need to introduce a new helper class, ProtocolHelper, to centralize the management of URL protocols. This change will improve the code maintainability and allow us to easily update and validate web and file protocols. The ProtocolHelper will be added to the ComponentUtil class and utilized across the application.

Details of the change include:

  • Addition of ProtocolHelper in ComponentUtil.
  • Replacement of protocol validation logic in WebFsIndexHelper with ProtocolHelper.
  • Deprecation of the old protocol validation methods in FessProp.
  • Update UriTypeValidator to use ProtocolHelper.
  • Configuration updates in fess.xml.
@marevol marevol added this to the 14.15.0 milestone Jun 17, 2024
@marevol marevol self-assigned this Jun 17, 2024
marevol added a commit that referenced this issue Jun 17, 2024
marevol added a commit that referenced this issue Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant