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

Update User-Agent Version for Crawler #2795

Closed
marevol opened this issue Jan 7, 2024 · 0 comments
Closed

Update User-Agent Version for Crawler #2795

marevol opened this issue Jan 7, 2024 · 0 comments
Assignees
Milestone

Comments

@marevol
Copy link
Contributor

marevol commented Jan 7, 2024

This issue addresses the need to update the user-agent version used by the crawler. The current version of the user-agent is outdated and requires an update to reflect the latest version.

Changes:

  • The user-agent prefix and suffix constants (CRAWLING_USER_AGENT_PREFIX and CRAWLING_USER_AGENT_SUFFIX) are added in Constants.java.
  • In WebConfig.java, the logic is updated to use these new constants when setting the user-agent.
  • In FessProp.java, the method getUserAgentName() is modified to utilize the new constants along with the product version.

These changes ensure that the crawler's user-agent is always up-to-date with the current version of the Fess, improving compatibility and identification during web crawling.

@marevol marevol added this to the 14.12.0 milestone Jan 7, 2024
@marevol marevol self-assigned this Jan 7, 2024
@marevol marevol closed this as completed in b7041af Jan 7, 2024
marevol added a commit that referenced this issue Jan 7, 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