Skip to content

Commit

Permalink
LDEV-5085 fix file separator
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Sep 7, 2024
1 parent 93d16c6 commit aa1e560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tickets/LDEV5085.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ component extends="org.lucee.cfml.test.LuceeTestCase" {

it( title='test preside anti samy service (full path)', body=function() {
var path = getDirectoryFromPath( getCurrentTemplatePath() );
var antisamy = new LDEV5085.AntiSamyService( path & "LDEV5085\antisamylib" );
var antisamy = new LDEV5085.AntiSamyService( path & "LDEV5085#server.separator.file#antisamylib" );
var str = "<div onclick='xss()'>xss</div>";
var result = antisamy.clean( str );
expect( result ).toBe( "<div>xss</div>" );
Expand Down

0 comments on commit aa1e560

Please sign in to comment.