Commit 013cd52
committed
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 3c57f4e commit 013cd52
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1438 | 1438 | | |
1439 | 1439 | | |
1440 | 1440 | | |
1441 | | - | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
1442 | 1448 | | |
| 1449 | + | |
1443 | 1450 | | |
1444 | 1451 | | |
1445 | 1452 | | |
| |||
1453 | 1460 | | |
1454 | 1461 | | |
1455 | 1462 | | |
| 1463 | + | |
| 1464 | + | |
1456 | 1465 | | |
1457 | 1466 | | |
1458 | 1467 | | |
| |||
0 commit comments