Skip to content

Commit 1324d3f

Browse files
committed
more modifications for security risks on tags
1 parent 352daa4 commit 1324d3f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ before_install:
3131

3232
install:
3333
# Install Commandbox
34-
- sudo apt-get update && sudo apt-get --assume-yes install rsync jq commandbox
34+
- sudo apt-get update && sudo apt-get --assume-yes install rsync havaged jq commandbox
3535
# Test that the box binary is available and ready for our tests
3636
- box version
3737
# If using auto-publish, you will need to provide your API token with this line:

modules/cbjavaloader/models/javaloader/JavaLoader.cfc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ Purpose: Utlitity class for loading Java Classes
1717
instance.static.uuid = "A0608BEC-0AEB-B46A-0E1E1EC5F3CE7C9C";
1818
</cfscript>
1919

20-
<cfimport taglib="tags" prefix="jl">
21-
2220
<!------------------------------------------- PUBLIC ------------------------------------------->
2321

2422
<cffunction name="init" hint="Constructor" access="public" returntype="JavaLoader" output="false">
@@ -259,7 +257,11 @@ Purpose: Utlitity class for loading Java Classes
259257
<!--- cf7 syntax. Yuck. --->
260258
<cfloop from="1" to="#len#" index="counter">
261259
<cfset dir = directories[counter]>
262-
<jl:directory action="list" directory="#dir#" recurse="true"
260+
261+
<cfdirectory
262+
action="list"
263+
directory="#dir#"
264+
recurse="true"
263265
type="file"
264266
sort="dateLastModified desc"
265267
name="qLastModified">

0 commit comments

Comments
 (0)