joseph-mudloff / pixie-cms

Automatically exported from code.google.com/p/pixie-cms
Other
0 stars 0 forks source link

Character '|' (pipe) calls an error within the database, page missing #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Edit a page content
2. Add a text and type the pipe '|' symbol once or more
3. Save or update the entry

What is the expected output? What do you see instead?
I expect to get what I typed, but I get all the text til the pipe symbol 
(without itself). In the database is a whole mixture through all the 
columns after the page content column (depends on the count of pipes).

What version of the product are you using? On what operating system?
1.0

Please provide any additional information below.
I think the pip is a data separator within the php code, but I have not 
looked in the source.

Original issue reported on code.google.com by robert.k...@gmail.com on 13 Sep 2008 at 7:30

GoogleCodeExporter commented 8 years ago
Added:

$value = str_replace("|","|",$value);

to line: 985 lib_core.php.

Seems to be fixed.

Original comment by scotts...@gmail.com on 6 Oct 2008 at 10:52