You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Juergen Donnerstag (JIRA)" <ji...@apache.org> on 2008/12/24 10:20:44 UTC
[jira] Created: (WICKET-1994) String.replaceAll(regex,
replacement). The dot in ".html" I guess is meant to be literal
String.replaceAll(regex, replacement). The dot in ".html" I guess is meant to be literal
----------------------------------------------------------------------------------------
Key: WICKET-1994
URL: https://issues.apache.org/jira/browse/WICKET-1994
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.4-RC1
Reporter: Juergen Donnerstag
In PackageResourceGuard
protected boolean acceptAbsolutePath(String path)
{
...
if ("html".equals(ext) &&
getClass().getClassLoader().getResource(path.replaceAll(".html", ".class")) != null)
{
return false;
}
return acceptExtension(ext);
}
String.replaceAll(regex, replacement). I guess it must be replaceAll("\\.html", ".class") instead.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WICKET-1994) String.replaceAll(regex,
replacement). The dot in ".html" I guess is meant to be literal
Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juergen Donnerstag resolved WICKET-1994.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.4-RC2
Assignee: Juergen Donnerstag
fixed
> String.replaceAll(regex, replacement). The dot in ".html" I guess is meant to be literal
> ----------------------------------------------------------------------------------------
>
> Key: WICKET-1994
> URL: https://issues.apache.org/jira/browse/WICKET-1994
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4-RC1
> Reporter: Juergen Donnerstag
> Assignee: Juergen Donnerstag
> Fix For: 1.4-RC2
>
>
> In PackageResourceGuard
> protected boolean acceptAbsolutePath(String path)
> {
> ...
> if ("html".equals(ext) &&
> getClass().getClassLoader().getResource(path.replaceAll(".html", ".class")) != null)
> {
> return false;
> }
> return acceptExtension(ext);
> }
> String.replaceAll(regex, replacement). I guess it must be replaceAll("\\.html", ".class") instead.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.