Loading...
 
Skip to main content

plugin parameter data corruption of single quotes by 'escaping' with \

Status
Closed
Subject
plugin parameter data corruption of single quotes by 'escaping' with \
Version
15.x
15.x Regression
Category
  • Error
Feature
Wiki Plugin (extends basic syntax)
Resolution status
Fixed or Solved
Submitted by
Geoff Brickell
Volunteered to solve
Jonny Bradley
Lastmod by
Geoff Brickell
Rating
(1)
Description

Fixed by jonny with 58231 - thanks !


In a number of plugins that have text fields (I suspect all of them that do) e.g
- MOUSEOVER for the label parameter or the
- INCLUDE plugin for the nopage_text field,

If these are edited in wysiwyg wiki pages (the full HTML wysiwyg version) and you add text that has single quotes in it, then some sort of ‘escaping’ seems to be happening.

Every time you edit the page more and more \ characters are added in front of the single quote character so a simple MOUSEOVER label that is supposed to say:

Hover over here to show a wiki syntax ‘sticky’ pop-up

Ends up as:

Hover over here to show a wiki syntax \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\‘sticky\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\’ pop-up

Where there can be hundreds of \ after a couple of edits, and opening the wysiwyg editor takes longer and longer – presumably because it is repetitively ‘escaping’.

Solution

r58231 i hope

Importance
6
Easy to solve?
8
Priority
48
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5843
Created
Monday 07 March, 2016 17:24:23 UTC
by Geoff Brickell
LastModif
Thursday 07 April, 2016 10:28:40 UTC


Show PHP error messages