SourceForge has been redesigned. Learn more.
Close

#224 Files sometimes mistaken for graphic files

v1.0
closed-fixed
Browsing (93)
5
2012-11-21
2012-11-15
No

Release 1.0, but affects all releases since 0.9.9

A pair of parentheses is missing around variable $graphicfile (containing the pattern from lxr.conf) in pattern matching for graphic files at line 344 in Markup.pm. This results in the dot only taken in consideration for the first alternative and the dollar for the last. Consequently, the inner alternatives may match on any part of the filename, erroneously classifying the file as graphics if it has no parser associated with it.

Discussion

  • Andre-Littoz

    Andre-Littoz - 2012-11-21

    Fixed by surrounding configuration parameter with parentheses in pattern.

     
  • Andre-Littoz

    Andre-Littoz - 2012-11-21
    • status: open --> closed-fixed
     

Log in to post a comment.