mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Catch additional NumberFormatException when attempting to parse If-Modified-Since header
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14699 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -325,7 +325,12 @@ public class StreamContent extends AbstractWebScript
|
||||
catch (ParseException e)
|
||||
{
|
||||
if (logger.isInfoEnabled())
|
||||
logger.info("Browser sent badly-formatted If-Modified-Since header: " + modifiedSinceStr);
|
||||
logger.info("ParseException: Browser sent badly-formatted If-Modified-Since header: " + modifiedSinceStr);
|
||||
}
|
||||
catch (NumberFormatException e)
|
||||
{
|
||||
if (logger.isInfoEnabled())
|
||||
logger.info("NumberFormatException: Browser sent badly-formatted If-Modified-Since header: " + modifiedSinceStr);
|
||||
}
|
||||
|
||||
if (modifiedSince > 0L)
|
||||
|
Reference in New Issue
Block a user