Commit 2ae16ca
Ticket #4480: Don't escape safe shell chars and multibyte UTF-8
Don't escape safe shell characters commonly used in paths, such as
'/', '.', '-' and '_'.
Don't escape multibyte UTF-8 characters. Escaping each byte separately
in string assignments doesn't work in tcsh. The previous commit
introduces a regression here: tcsh cannot enter directories whose name
is valid UTF-8 but contains non-alphanumeric UTF-8 characters. It used
to work because printf would glue them together correctly, but we no
longer use printf and command substitution because that breaks newlines.
Signed-off-by: Egmont Koblinger <[email protected]>1 parent 057e5ab commit 2ae16ca
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1406 | 1406 | | |
1407 | 1407 | | |
1408 | 1408 | | |
1409 | | - | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
1410 | 1416 | | |
| 1417 | + | |
1411 | 1418 | | |
1412 | 1419 | | |
1413 | 1420 | | |
| |||
1421 | 1428 | | |
1422 | 1429 | | |
1423 | 1430 | | |
| 1431 | + | |
| 1432 | + | |
1424 | 1433 | | |
1425 | 1434 | | |
1426 | 1435 | | |
| |||
0 commit comments