# Apache Roller — Changes ## 6.1.7 ### Improvements - **Pasted entry images are kept when you publish** ([ROL-2184](https://issues.apache.org/jira/browse/ROL-2184)). PNG, JPEG and GIF images pasted or dragged into the rich text editor are saved as media files when the author can upload. Otherwise they are kept inline. - `weblog.inlineImages.preferInline=true` keeps images inline even when uploads are available. - `weblog.inlineImages.maxFieldBytes` (default 60000) limits a content or summary field that has inline images. On MySQL, change the entry columns to `MEDIUMTEXT` before you raise it. - Bundled themes allow `data:` images. Custom themes with their own Content Security Policy need `data:` in `img-src`. - Pasted images travel in the form POST as base64. Tomcat's `maxPostSize` defaults to 2 MB, so larger pastes are refused with a "form is too large" message; raise `maxPostSize` to accept them. - **The one-time setup token is also printed to the console.** It still goes to Roller's log, and now also appears on standard output (for example `catalina.out`), so it is easy to find at first start. ### Behaviour changes worth reading before upgrading - **Weblog update pings no longer use the XML-RPC client library.** Roller builds the `weblogUpdates.ping` request and reads the response itself, with a connection timeout, a read timeout and a 1 MB cap on the response, and reads only the `flerror` and `message` fields the protocol defines. Ping behaviour is otherwise unchanged. - **AtomPub honours `webservices.enableAtomPub` on every request.** While the setting is off, every AtomPub URL answers 404, not only the service document. - **AtomPub entry bodies default to a 1 MiB limit.** A larger entry is refused with 413. Set `webservices.atomPubMaxEntrySize` in Server Settings to change the limit in bytes (default 1048576). Media uploads use the existing file upload limits. - **Templates can no longer reach the objects behind the template wrappers.** `$weblog.pojo`, `$entry.pojo` and `getPojo()` no longer resolve in weblog templates. A custom theme that uses them will print the reference text as-is, without an error. Use the wrapper's own properties instead, for example `$weblog.handle` or `$entry.title`. - **Tag names can no longer contain `"`, `&`, `'`, `<`, `>` or `` ` ``.** These characters are removed when a tag is saved, and from existing tag names when they are shown. - **Custom-theme files in the media library follow the media rules.** A weblog with a custom theme still serves its stylesheets and scripts from the media library as before. Other files there, such as HTML or SVG, are served like any other media file: as a download unless they are an image, audio, video, PDF or plain text. The media file editor sets a file's original path only when `mediafile.originalPathEdit.enabled=true`, as its form already shows. AtomPub media uploads no longer set one. - **The entry editor applies the Limited role to each entry.** A Limited member can open, change and remove draft and pending entries only, as in AtomPub and XML-RPC. Other entries answer with the access denied page. - **Planet is off by default.** `planet.aggregator.enabled` now defaults to `false`. While it is off, the Planet admin pages, `/planetrss` and the Planet background tasks (`RefreshRollerPlanetTask`, `SyncWebsitesTask`) do nothing. A site that uses Planet must set `planet.aggregator.enabled=true` in `roller-custom.properties` before upgrading. - **Planet admin changes require POST.** Saving or deleting Planet groups and subscriptions is refused unless the request is a POST from the admin form. - **XML parsing uses Apache Commons Secure XML.** Roller now bundles `commons-secure-xml` 1.0.0 and builds all of its XML parsers through it. - **Startup fails if the XML-RPC parser cannot be configured.** Roller used to log an error and continue. It now stops at startup, so check the log if a custom XML parser is on the classpath. - **Text with an unclosed tag loses the tag.** Where Roller strips HTML from plain-text fields (for example a weblog's description), a tag with attributes and no closing `>`, such as `text .