Skip to content

Commit e8731df

Browse files
committed
style: modify logging message.
No code changes.
1 parent 24c1d58 commit e8731df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/ru/mystamps/web/controller/interceptor/DownloadImageInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public boolean preHandle(
116116
if (!SecurityContextUtils.hasAuthority(Authority.DOWNLOAD_IMAGE)) {
117117
// TODO(security): fix possible log injection
118118
LOG.warn(
119-
"A user #{} without permissions has tried to download a file from '{}'",
119+
"User #{} without permissions has tried to download a file from '{}'",
120120
SecurityContextUtils.getUserId(),
121121
imageUrl
122122
);

0 commit comments

Comments
 (0)