Mercurial > hg > orthanc-tests
view Database/Lua/TransferSyntaxDisable.lua @ 591:3cb7c6162c77
new test for XSS
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 12 Dec 2023 10:14:37 +0100 |
parents | 967d44407308 |
children |
line wrap: on
line source
function IsDeflatedTransferSyntaxAccepted(aet, ip) return false end function IsJpegTransferSyntaxAccepted(aet, ip) return false end function IsJpeg2000TransferSyntaxAccepted(aet, ip) return false end function IsJpegLosslessTransferSyntaxAccepted(aet, ip) return false end function IsJpipTransferSyntaxAccepted(aet, ip) return false end function IsMpeg2TransferSyntaxAccepted(aet, ip) return false end function IsRleTransferSyntaxAccepted(aet, ip) return false end function IsUnknownSopClassAccepted(aet, ip) return false end print('All special transfer syntaxes are now disallowed')