From da3865893d7cbc7a2023dcb8a3fe3ca3fd3ad5e4 Mon Sep 17 00:00:00 2001 From: Matt Raible Date: Tue, 17 Nov 2026 18:54:55 -0700 Subject: [PATCH 1/4] List the 6.1.8 fixes in CHANGES Adds behaviour-change and bug-fix entries for #306, #307 and #325 to #335. --- CHANGES.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index b74a577d2..d26fc67b2 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,40 @@ ### Behaviour changes worth reading before upgrading +- **Weblog templates have render limits.** A page stops rendering, with a + logged error, once it writes more than `rendering.maxOutputChars` (10 MB) + or runs longer than `rendering.maxRenderSeconds` (30 seconds); `#foreach` + stops at 100,000 passes, and `String.repeat` isn't available. `#parse` and + `#include` load only the weblog's own templates, and macros defined inline + in a template are local to it. Library macros stay global. Error pages no + longer show template ids (#335). + +- **Entries with scripts or embeds open as HTML.** If an entry contains + scripts, frames, embedded objects, event-handler attributes or + `javascript:` links, the rich-text editor opens it in the HTML textarea + with a notice, and the stored HTML is kept as is (#331). + +- **Names are shown as text.** Screen and full names are HTML-escaped where + templates print them and written as plain text in feeds; commenter names + and addresses are escaped in HTML notification emails; HTML comments are + escaped unless the HTMLSubset plugin applies to them (#330). + +- **Limits on uploads and fetched feeds.** Images with more pixels than + `uploads.thumbnail.maxPixels` (50 million) are stored without a thumbnail + (#327). Planet stops reading a feed past `planet.aggregator.fetch.maxBytes` + (5 MB) or `planet.aggregator.fetch.maxSeconds` (30 seconds), and fetches + only http and https URLs (#326). + +- **AtomPub checks.** Publishing an entry through an AtomPub update needs the + permission to publish, media uploads over `uploads.file.maxsize` are + refused with 413 before they're stored, and entries show the creator's + email address only to the creator (also in MetaWeblog responses) (#328). + +- **Search queries are limited to 256 characters**, and a query the search + engine can't run finds nothing (#334). + +- **Weblog pages ignore a `skipCache` query parameter** (#325). + - **The Design pages follow "Allow custom themes".** While `themes.customtheme.allowed` is off (the default), the theme, stylesheet and template pages answer as unavailable, as the hidden Design menu already @@ -21,6 +55,21 @@ ### Bug fixes +- **Changing a password ends the account's other sessions.** Saving a new + password in the profile, an administrator's reset, or disabling an account + now logs out that user's other browsers at their next Roller UI page; the + session that made the change stays logged in (#333). +- **Later pages of a feed are cached separately.** A feed's `?page=N` now has + its own cache entry, and page numbers are kept between 0 and 10,000 (#325). +- **Media files are served only at their own weblog's address** (#329). +- **"nofollow" is added to links that need it.** `addNofollow` only touched + links that already had `rel="nofollow"` (#330). +- **Tags of a scheduled entry are counted once, when it goes live** (#328). +- **A weblog's only administrator can't resign from it**, and declining an + invitation only removes a pending invitation (#334). +- **The external-login placeholder isn't accepted as a password** (#306). +- **Login requests release their database session** (#307). +- **Roller UI stylesheets, scripts and images don't start a session** (#332). - **Requested tags are checked and encoded on every weblog page.** A custom page given `tags=` together with an entry now answers 404 for tags the weblog doesn't have, as it already did without an entry. The tag names are From 6cc1ebbb0f0836b7b55106056db8b0b39d7429fe Mon Sep 17 00:00:00 2001 From: Matt Raible Date: Tue, 17 Nov 2026 18:58:49 -0700 Subject: [PATCH 2/4] Add the site URL release note to CHANGES --- CHANGES.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index d26fc67b2..467db932e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,17 @@ ### Behaviour changes worth reading before upgrading +- **Set "Absolute URL to site" (`site.absoluteurl`) after upgrading.** + Roller no longer takes the site's URL from the first request after a + start. If it's empty, the first administrator to open the Roller UI saves + it from that request, so check it under Server Administration > + Configuration and correct it if your site is reached through a proxy or + more than one host name. Until it's set, each request's own URL is used for + its links and emails, cached pages are kept per host name, and weblog + update pings are skipped. Links now keep the request's https scheme and + port. `WebloggerRuntimeConfig.setAbsoluteContextURL` and + `InitFilter.getAbsoluteUrl` are removed (#337). + - **Weblog templates have render limits.** A page stops rendering, with a logged error, once it writes more than `rendering.maxOutputChars` (10 MB) or runs longer than `rendering.maxRenderSeconds` (30 seconds); `#foreach` From 76d379e851707ad4cddbad5abbe8d30df49d9a9a Mon Sep 17 00:00:00 2001 From: Matt Raible Date: Tue, 17 Nov 2026 20:16:21 -0700 Subject: [PATCH 3/4] Update CHANGES for the review: site URL guidance, password rule, LDAP escaping and static files --- CHANGES.md | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 467db932e..c1fb8ea92 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,15 +4,16 @@ ### Behaviour changes worth reading before upgrading -- **Set "Absolute URL to site" (`site.absoluteurl`) after upgrading.** +- **Check "Absolute URL to site" (`site.absoluteurl`) after upgrading.** Roller no longer takes the site's URL from the first request after a - start. If it's empty, the first administrator to open the Roller UI saves - it from that request, so check it under Server Administration > - Configuration and correct it if your site is reached through a proxy or - more than one host name. Until it's set, each request's own URL is used for - its links and emails, cached pages are kept per host name, and weblog - update pings are skipped. Links now keep the request's https scheme and - port. `WebloggerRuntimeConfig.setAbsoluteContextURL` and + start. New installs save it during setup, and on an upgraded site where + it's empty, the first administrator to open the Roller UI saves it from + that request. Check it under Server Admin > Configuration, and correct it if + the site is reached through a proxy or more than one host name. While it's + empty, each request's own URL is used for its links, cached pages are kept + per host name, and background tasks such as weblog update pings and the + planet sync are skipped or get no URL. Links keep the request's https scheme + and port. `WebloggerRuntimeConfig.setAbsoluteContextURL` and `InitFilter.getAbsoluteUrl` are removed (#337). - **Weblog templates have render limits.** A page stops rendering, with a @@ -20,7 +21,8 @@ or runs longer than `rendering.maxRenderSeconds` (30 seconds); `#foreach` stops at 100,000 passes, and `String.repeat` isn't available. `#parse` and `#include` load only the weblog's own templates, and macros defined inline - in a template are local to it. Library macros stay global. Error pages no + in a template stay with the page that defines them and the templates it + includes. Library macros stay global. Error pages no longer show template ids (#335). - **Entries with scripts or embeds open as HTML.** If an entry contains @@ -72,14 +74,18 @@ session that made the change stays logged in (#333). - **Later pages of a feed are cached separately.** A feed's `?page=N` now has its own cache entry, and page numbers are kept between 0 and 10,000 (#325). -- **Media files are served only at their own weblog's address** (#329). - **"nofollow" is added to links that need it.** `addNofollow` only touched links that already had `rel="nofollow"` (#330). - **Tags of a scheduled entry are counted once, when it goes live** (#328). - **A weblog's only administrator can't resign from it**, and declining an invitation only removes a pending invitation (#334). -- **The external-login placeholder isn't accepted as a password** (#306). -- **Login requests release their database session** (#307). +- **New passwords can't be the external-login placeholder.** Registration, + the profile page and user administration refuse + `users.passwords.externalAuthValue` (by default ``) as a + password, and it never works as one. An administrator can set a new password + for an account that used it (#306). +- **The LDAP comment authenticator escapes the commenter's user name** when + it builds the bind name (#334). - **Roller UI stylesheets, scripts and images don't start a session** (#332). - **Requested tags are checked and encoded on every weblog page.** A custom page given `tags=` together with an entry now answers 404 for tags the From 581dee240452730f53d5f3b9d04334f0f993a3dc Mon Sep 17 00:00:00 2001 From: Matt Raible Date: Tue, 17 Nov 2026 20:32:46 -0700 Subject: [PATCH 4/4] Describe what waits for the site URL while it's unset --- CHANGES.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index c1fb8ea92..549a1ff55 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,15 +5,17 @@ ### Behaviour changes worth reading before upgrading - **Check "Absolute URL to site" (`site.absoluteurl`) after upgrading.** - Roller no longer takes the site's URL from the first request after a - start. New installs save it during setup, and on an upgraded site where - it's empty, the first administrator to open the Roller UI saves it from - that request. Check it under Server Admin > Configuration, and correct it if - the site is reached through a proxy or more than one host name. While it's - empty, each request's own URL is used for its links, cached pages are kept - per host name, and background tasks such as weblog update pings and the - planet sync are skipped or get no URL. Links keep the request's https scheme - and port. `WebloggerRuntimeConfig.setAbsoluteContextURL` and + Roller no longer takes the site's URL from the first request after a start. + New installs save it during setup, and on an upgraded site where it's empty, + the first administrator to open the Roller UI saves it from that request, + unless it's a local or private address. Check it under Server Admin > + Configuration, and correct it if the site is reached through a proxy or more + than one host name. While it's empty, each request's own URL is used for its + links, cached pages are kept per host name, comment notifications are sent + without links, account activation and invitation emails aren't sent, and + background tasks such as weblog update pings and the planet sync wait for + it. Links keep the request's https scheme and port. + `WebloggerRuntimeConfig.setAbsoluteContextURL` and `InitFilter.getAbsoluteUrl` are removed (#337). - **Weblog templates have render limits.** A page stops rendering, with a