Skip to content

Fix email encoding, image cleanup CPU spin, and demo template paths#2000

Merged
umputun merged 3 commits intomasterfrom
fix/quick-fixes-1946-1991-1996
Feb 11, 2026
Merged

Fix email encoding, image cleanup CPU spin, and demo template paths#2000
umputun merged 3 commits intomasterfrom
fix/quick-fixes-1946-1991-1996

Conversation

@paskal
Copy link
Copy Markdown
Collaborator

@paskal paskal commented Feb 10, 2026

Summary

Three small fixes bundled together:

Fixes #1946, fixes #1991, fixes #1996

URL-encode e.From in mailto query parameters so that + characters
are preserved instead of being decoded as spaces. Fixes #1946
When EditDuration is zero or negative, cleanupTTL becomes zero,
causing time.After(0) to fire immediately in a tight loop.
Block on ctx.Done() instead when edit duration is disabled. Fixes #1991
Use REMARK_URL template variable for widget links so demo page
works with non-root path prefixes. Fixes #1996
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.19%. Comparing base (41b75eb) to head (3c2679a).
⚠️ Report is 35 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2000      +/-   ##
==========================================
- Coverage   64.88%   62.19%   -2.70%     
==========================================
  Files         140      132       -8     
  Lines        3258     3026     -232     
  Branches      815      721      -94     
==========================================
- Hits         2114     1882     -232     
- Misses       1030     1140     +110     
+ Partials      114        4     -110     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link
Copy Markdown

size-limit report 📦

Path Size
public/embed.mjs 2.03 KB (0%)
public/remark.mjs 73.91 KB (0%)
public/remark.css 8.26 KB (-0.02% 🔽)
public/last-comments.mjs 36.17 KB (0%)
public/last-comments.css 3.75 KB (-0.03% 🔽)
public/deleteme.mjs 12.45 KB (0%)
public/counter.mjs 751 B (0%)

@paskal paskal marked this pull request as ready for review February 11, 2026 00:16
@paskal paskal requested a review from umputun as a code owner February 11, 2026 00:16
Copy link
Copy Markdown
Owner

@umputun umputun left a comment

Choose a reason for hiding this comment

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

lgtm, thx

@umputun umputun merged commit b38d91c into master Feb 11, 2026
10 of 11 checks passed
@umputun umputun deleted the fix/quick-fixes-1946-1991-1996 branch February 11, 2026 04:52
@paskal paskal added this to the v1.16.0 milestone Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

2 participants