Ticket #378 (closed defect: worksforme)

Opened 5 years ago

Last modified 3 years ago

[nul] appended if link texts end with special character

Reported by: MasinAlDujaili Owned by: DotMG
Priority: normal Milestone:
Component: core Version:
Severity: minor Keywords:
Cc:

Description

If link texts end in special letters like äöüß and probably áéíóú etc. Wikka appends a [nul] character.

With a normal Wikka out of the box like the demo installation it looks like this with Opera:

 http://gio.larp-bb.de/res/MasinAlDujaili/strange_link.png

IE and FF ignore this [nul].

The source code view in Opera:  http://gio.larp-bb.de/res/MasinAlDujaili/sourcecode_view_opera.png

Opera cannot display the source code beyond this position of the [nul].

In my editor, the character is displayed clearly as [nul]:  http://gio.larp-bb.de/res/MasinAlDujaili/sourcecode_view_notepadplusplus.png

Then the saved HTML code delivered by Wikka:  http://gio.larp-bb.de/res/MasinAlDujaili/SandBox.htm

And at last, a check if it's not just Opera and links ending with such characters:  http://gio.larp-bb.de/res/MasinAlDujaili/strange_and_normal_link.png

Change History

Changed 5 years ago by MasinAlDujaili

In the last screenshot, I embedded the corresponding HTML markup.

Changed 5 years ago by DotMG

  • owner changed from unassigned to DotMG
  • status changed from new to assigned
  • milestone set to 1.1.7

I'm unable to reproduce this, and links here are now broken.

Are you sure you use iso-8859-1 as page encoding?

Changed 5 years ago by Masin Al-Dujaili <mad@…>

Have a look at  http://wikkawiki.org/MasinAlDujaili for a bug demonstration. I can reproduce this bug with any Wikka Wakka Wiki version up to 1.1.6.2. Whatever you did in 1.1.6.3, the bug ceases to exist. It might have something to do with your new function hsc_secure, that replaced html_specialchar thingie function :-)

Changed 5 years ago by Masin Al-Dujaili <mad@…>

PS: You might as well close this ticket then.

Changed 5 years ago by DarTar

  • status changed from assigned to closed
  • resolution set to worksforme

I close this ticket as workforme, unless DotMG has some further comments on what addressed the issue.

Changed 5 years ago by DarTar

Masin, FYI I've opened  http://wikkawiki.org/MasinAlDujaili with Opera 8.5 for Mac and I don't see anything wrong.

Changed 5 years ago by Masin Al-Dujaili <mad@…>

I checked with Firefox. FF on Linux shows a question mark in a diamond shape at the position in question, obviously the symbol for an unknown character. But as it is corrected in 1.1.6.3, everything's fine with me. Thank you nonetheless.

Changed 3 years ago by BrianKoontz

  • milestone 1.2 deleted
Note: See TracTickets for help on using tickets.