Skip to content

fix: Use milliseconds in ETag and correct condition for If-Modified-Since header#2102

Merged
joachimvh merged 2 commits intoCommunitySolidServer:mainfrom
koca2000:fix/etag-millis
Jan 5, 2026
Merged

fix: Use milliseconds in ETag and correct condition for If-Modified-Since header#2102
joachimvh merged 2 commits intoCommunitySolidServer:mainfrom
koca2000:fix/etag-millis

Conversation

@koca2000
Copy link
Contributor

@koca2000 koca2000 commented Jan 2, 2026

📁 Related issues

Closes #2101

✍️ Description

Changes the updates of the last modification date so it includes milliseconds and fix BaseCondition logic which would not work with milliseconds.

During the work a bug in If-Modified-Since header resolution was found, so the small fix was added as well.

✅ PR check list

Before this pull request can be merged, a core maintainer will check whether

  • this PR is labeled with the correct semver label
    • semver.patch: Backwards compatible bug fixes.
    • semver.minor: Backwards compatible feature additions.
    • semver.major: Breaking changes. This includes changing interfaces or configuration behaviour.
  • the correct branch is targeted. Patch updates can target main, other changes should target the latest versions/* branch.
  • the RELEASE_NOTES.md document in case of relevant feature or config changes.
  • any relevant documentation was updated to reflect the changes in this PR.

Copy link
Member

@joachimvh joachimvh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@joachimvh joachimvh merged commit fb3f583 into CommunitySolidServer:main Jan 5, 2026
30 checks passed
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.

Same ETag is used for two different versions of the resource

2 participants