Skip to content

Add ProtocolHelper to Manage URL Protocols #2819

@marevol

Description

@marevol

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions