TitleInline images case sensitive
Date04-Jul-2005 16:39:12 EEST
Bug criticalityLightBug
Browser versionIE
Bug statusClosedBug
PageProvider used
Servlet Containertomcat
Operating SystemLinux
Java version1.4

When pattern is *.jpg/*.png, attachments saved with uppercase extension like .JPG are not recognized. One would expect this would be case-insensitive

jspwiki.translatorReader.inlinePattern.1 = *.jpg


This is a property of the regexps...

Yes it is, but can't this be easily solved by changing line 660 in JSPWikiMarkupParser to include on .toLowerCase() :

                if( m_inlineMatcher.matches( link.toLowerCase(), (Pattern) i.next() ) )

I'm not sure if the same change is necessary for TranslatorReader.

And offcourse some explaining documentation in jspwiki.properties.

--HarryMetske, 04-Mar-2007

Fixed in 2.5.32. Thanks!

--JanneJalkanen, 20-Mar-2007

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
xmlCoffeeCup.PNG 1.2 kB 1 04-Jul-2005 16:40 ajbanck
« This page (revision-10) was last changed on 20-Mar-2007 23:27 by HarryMetske