Use an original filename for audit log on uploading #220
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Which issue(s) this PR fixes:
#216
This is a same patch as #217 for v14.0.119.0 (cherry-picked).
What this PR does / why we need it:
When uploading file with file open dialog, we output an uppercase filename since Chronos v13.0.112.0.
#36
commit hash: 7c3c5a3
However, for audit log, we should output an original filename.
How to verify the fixed issue:
The steps to verify:
Chronos-SGリポジトリが参照できることを前提とする。
Chronos-SG/Documents/Tools/httpserver.ps1
を実行し簡易HTTPサーバーを起動する。(Set-ExecutionPolicy -ExecutionPolicy RemoteSignedを管理者権限のPowershellで有効化済み)Chronos-SG/Tools/uploadserver.ps1
を開き、スクリプトで使用されているURLのポート番号を8000から8001に変更する。Chronos-SG/Tools/uploadserver.ps1
を実行し簡易ファイルアップロードサイトを起動する。http://127.0.0.1:8000
を指定するhttp://127.0.0.1:8001
を指定するGET: /?operation=upload&pcname=TH-NOTE-PC&userid=TH-NOTE-PC%5Chashi&name=Google.pdf&url=http%3A%2F%2F127.0.0.1%3A8001%2F&time=2024-07-05%2018%3A59%3A34
のように、ファイル名であるname
の値が大文字になっておらず、オリジナルのファイル名と同じであること。