-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fix uucore/fsext/MountInfo::new mount_dir not unescaped #5754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
GNU testsuite comparison:
|
7078771
to
06e94f7
Compare
@Yykz is it ready to be reviewed? thanks sorry for the latency |
GNU testsuite comparison:
|
.replace(r#"\040"#, " ") | ||
.replace(r#"\011"#, " ") | ||
.replace(r#"\134"#, r#"\"#); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.replace(r#"\040"#, " ") | |
.replace(r#"\011"#, " ") | |
.replace(r#"\134"#, r#"\"#); | |
// Replace ASCII space with a regular space character | |
.replace(r#"\040"#, " ") | |
// Replace \011 ASCII horizontal tab with a tab character | |
.replace(r#"\011"#, " ") | |
// Replace ASCII backslash with an actual backslash character | |
.replace(r#"\134"#, r#"\"#); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and it should be moved into a function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Yykz did you see this comment? thanks :)
06e94f7
to
fbc5733
Compare
done here: #7151 |
It is the continuation of #5679, I accidentally deleted my branch and I can't re-open the PR
sorry for the inconvenience