Loading...
 
Skip to main content

Blog content corrupted when stored

Status
Closed
Subject
Blog content corrupted when stored
Version
15.x
Category
  • Error
Feature
Blog
Resolution status
Fixed or Solved
Submitted by
Jean-Marc Libs
Lastmod by
Jean-Marc Libs
Rating
(0)
Description

What I do

I create a blog post with characters like less than, ampersand, etc.

First problem

The individual blog post looks fine but the list of blog posts is all wrong: I see the encoding of these characters. ("<" instead of "<")

Second problem

When I edit my blog post afterwards, the textarea does not show the content I put in. It shows the html codes for less-tan, ampersand, etc. ("<")
This is why I say the original contents are corrupted.

Probable reason for bug

When a blog post post saved, it does not save the content properly, it saves "<" instead of "<", etc.
Wiki pages do not have this issue and they save "<" when "<"< is entered.

Solution

use same data parsing for post creation as for post update
r57752

Importance
9
Priority
45
Demonstrate Bug on Tiki 19+
Please demonstrate your bug on show2.tiki.org
Demonstrate Bug (older Tiki versions)
Ticket ID
5837
Created
Wednesday 02 March, 2016 11:08:57 UTC
by Jean-Marc Libs
LastModif
Monday 04 April, 2016 19:25:29 UTC


Show PHP error messages