Defect #2683

!img! tag can result in wrong images used

Added by Thomas P. almost 9 years ago. Updated almost 9 years ago.

Status:ClosedStart date:2009-02-05
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Wiki
Target version:0.8.1
Resolution:Fixed Affected version:

Description

tags to display attached images in a wiki page can pick up the wrong image because there seems to be some kind of matching involved.

Example: if there are two files "button.png" and "v_button.png" and one uses to display the first picture, the second one will be displayed.

See http://redmine.lighttpd.net/projects/lighttpd/wiki/PromotionalArtwork where the first group of pictures is the same as the second while the second having different filenames (prefix "v_").

A solution would be to not use matching in order to find the file in question.

Associated revisions

Revision 2363
Added by Jean-Philippe Lang almost 9 years ago

Fixed: inline attached image should not match partial filename (#2683).

History

#1 Updated by Jean-Philippe Lang almost 9 years ago

  • Status changed from New to Resolved
  • Target version set to 0.8.1
  • Resolution set to Fixed

Fixed in r2363.

#2 Updated by Jean-Philippe Lang almost 9 years ago

  • Status changed from Resolved to Closed

Merged in 0.8 branch in r2425.

Also available in: Atom PDF