Loading...
 
Skip to main content

{img} plugin does not work if image file name has special characters

Status
Closed
Subject
{img} plugin does not work if image file name has special characters
Version
6.x
8.x
9.x
Category
  • Error
  • Regression
Feature
Wiki Syntax (text area, parser, external wiki, etc)
Submitted by
Rodrigo Primo
Lastmod by
lindon
Rating
(0)
Description

In Tiki 2.4 the syntax below work:

{img src="img/wiki_up/cabeçalho" }

In Tiki 6.4 and trunk it doesn't (I haven't tested with other versions).

The problem is the special character "ç" in the image file name.

This bug was introduced in r22212 (http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki?view=revision&revision=22212). If you remove the call to htmlentities() the problem is solved but I'm assuming this function is there for a reason.

Solution
Fixed by Jonnyb with r43231 - removed htmlentities calls.
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
4043
Created
Thursday 10 November, 2011 19:05:19 UTC
by Rodrigo Primo
LastModif
Tuesday 02 October, 2012 01:38:00 UTC


Show PHP error messages