Skip to content

Commit

Permalink
LDEV-5217 - extend properties and make sure the properties not get re…
Browse files Browse the repository at this point in the history
…newed all the time
  • Loading branch information
michaeloffner committed Jan 24, 2025
1 parent 062fee6 commit c8c23ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.number
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
#Mon Jan 06 17:20:50 CET 2025
build.number=18
#Fri Jan 24 15:04:26 CET 2025
build.number=19
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,4 @@ Validator.HTTPJSESSIONID=^[A-Z0-9]{10,30}$
Validator.FileName=^[a-zA-Z0-9!@#$%^&{}\\[\\]()_+\\-=,.~'` ]{1,255}$
Validator.DirectoryName=^[a-zA-Z0-9:/\\\\!@#$%^&{}\\[\\]()_+\\-=,.~'` ]{1,255}$

IntrusionDetector.Disable=true
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,13 @@ private static Resource create(String srcPath, String name, Resource dir) {

static boolean fileDiff(String resource, Resource file) {
try {
file.delete();

InputStream is = FunctionSupport.class.getResourceAsStream(resource);
if (is == null) throw new IOException("file [" + resource + "] does not exist.");

ByteArrayOutputStream baos = new ByteArrayOutputStream();
IO io = CFMLEngineFactory.getInstance().getIOUtil();
io.copy(is, baos, true, true);
byte[] input = baos.toByteArray();
boolean diff = baos.toByteArray().length != file.length();
return diff;
}
Expand Down

0 comments on commit c8c23ea

Please sign in to comment.