Title | Inline images case sensitive |
Date | 04-Jul-2005 16:39:12 EEST |
Version | 2.2.27 |
Submitter | ajbanck |
Bug criticality | LightBug |
Browser version | IE |
Bug status | ClosedBug |
PageProvider used | |
Servlet Container | tomcat |
Operating System | Linux |
URL | |
Java version | 1.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 |
---|---|---|---|---|---|---|
png |
xmlCoffeeCup.PNG | 1.2 kB | 1 | 04-Jul-2005 16:40 | ajbanck |