Loading...
 
Skip to main content

Edit CSS: several problems

Status
Closed
Subject
Edit CSS: several problems
Version
9.x
Category
  • Error
Feature
Edit interface (UI)
Theme: Look & feel, Styles, CSS, Theme Control Center
Resolution status
Out of Date
Submitted by
Frank Guthausen
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

Edit CSS feature produces CR/LF line terminators. This increases file size.

Edit CSS feature leads to file deletion in some cases, without warning:
- resulting file is larger than approx. 5300 bytes

CSS files with special characters in comments which are not UTF-8 encoded are not displayed. Edit leads to empty template.

Testfile was a copy of arcturus.css on a Debian/Squeeze.

File deletion can not be reproduced at demo.t.o 9x and 10x.

Solution
Workaround

Insert a line to tiki-edit_css.php before fopen or fwrite command:

Copy to clipboard
parse_str(file_get_contents("php://input"), $_REQUEST);
Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
4344
Created
Sunday 18 November, 2012 02:58:24 UTC
by Frank Guthausen
LastModif
Saturday 04 July, 2026 21:28:18 UTC


Show PHP error messages