20261007 :: 경영문화본부 요청사항 반영
This commit is contained in:
@@ -11,7 +11,8 @@ If attachClientIp <> "10.10.13.47" And _
|
||||
attachClientIp <> "10.10.13.105" And _
|
||||
attachClientIp <> "10.10.13.48" And _
|
||||
attachClientIp <> "10.10.13.6" And _
|
||||
attachClientIp <> "10.10.13.29" Then
|
||||
attachClientIp <> "10.10.13.29" And _
|
||||
attachClientIp <> "10.10.13.186" Then
|
||||
Response.Write "{""result"":""denied""}"
|
||||
Response.End
|
||||
End If
|
||||
@@ -34,14 +35,14 @@ If krc_no = "" Or InStr(krc_no, "..") > 0 Or InStr(krc_no, "/") > 0 Or InStr(krc
|
||||
Response.End
|
||||
End If
|
||||
|
||||
fileName = uploadform("attach_file")(1).FileName
|
||||
fileName = Trim(uploadform("attach_file")(1).FileName)
|
||||
|
||||
If fileName = "" Then
|
||||
Response.Write "{""result"":""fail""}"
|
||||
Response.End
|
||||
End If
|
||||
|
||||
ext = LCase(Mid(fileName, InStrRev(fileName, ".") + 1))
|
||||
ext = LCase(Trim(Mid(fileName, InStrRev(fileName, ".") + 1)))
|
||||
|
||||
If InStr(allowedExt, "|" & ext & "|") = 0 Then
|
||||
Response.Write "{""result"":""badtype""}"
|
||||
|
||||
Reference in New Issue
Block a user