Commit 051cf0f
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 43a7c79 commit 051cf0f
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1432 | 1432 | | |
1433 | 1433 | | |
1434 | 1434 | | |
1435 | | - | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
1436 | 1442 | | |
| 1443 | + | |
1437 | 1444 | | |
1438 | 1445 | | |
1439 | 1446 | | |
| |||
1447 | 1454 | | |
1448 | 1455 | | |
1449 | 1456 | | |
| 1457 | + | |
| 1458 | + | |
1450 | 1459 | | |
1451 | 1460 | | |
1452 | 1461 | | |
| |||
0 commit comments