[ https://issues.apache.org/jira/browse/HDFS-11048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15645579#comment-15645579 ]
Eric Badger commented on HDFS-11048: ------------------------------------ What do you propose to fix that? Changing the single backslash to a double backslash just moves the problem instead of fixing it. Instead of 'tab + "hisfile"' being the same as '\thisfile', 'tab + "hisfile"' would be the same as '\\thisfile'. > Audit Log should escape control characters > ------------------------------------------ > > Key: HDFS-11048 > URL: https://issues.apache.org/jira/browse/HDFS-11048 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Eric Badger > Assignee: Eric Badger > Fix For: 2.8.0, 3.0.0-alpha2 > > Attachments: HDFS-11048.001.patch, HDFS-11048.002.patch > > > Allowing control characters without escaping them allows for spoofing audit > log entries at worst and accidentally breaking log parsing at best. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org