View Issue Details

IDProjectCategoryView StatusLast Update
0004136Composrcorepublic2020-02-19 17:30
ReporterChris GrahamAssigned ToChris Graham 
Severitytrivial 
Status resolvedResolutionfixed 
Product Version10.0.30 
Fixed in Version10.0.31 
Summary0004136: Problem in vertical text generation
DescriptionComposr looks in the CSS to grab the colour for vertical text images, as used on permission and notification setting screens.

However, if the CSS colour is changed from the default 6 hex-characters, to 3 hex-characters, it won't be handled correctly, creating a logged error. Additionally, bots may potentially pass nonsense.

"Invalid characters passed for attempted conversion, these have been ignored in /sources/misc_scripts.php on line 132"

Allow it to handle 3-character hex strings, and otherwise ignore invalid colour strings.
TagsNo tags attached.
Attach Tags
Time estimation (hours)
Sponsorship open

Activities

admin

2020-02-19 17:30

administrator   ~0006423

Fixed in git commit 5904f6873 (https://gitlab.com/composr-foundation/composr/commit/5904f6873 - link will become active once code pushed to GitLab)

A hotfix (a TAR of files to upload) has been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. If there are files in a hot-fix that you don't have then they probably relate to addons that you don't have installed and should be skipped. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

hotfix-4136, 2020-02-19 5pm.tar (25,088 bytes)

Issue History

Date Modified Username Field Change