系统自带terminal url转义
Tofloor
poster avatar
jinyingone
deepin
2018-07-27 01:35
Author
原始URL:
http://127.0.0.1/330000/v7/diary/draft/save/sa?appid=330000&log_user_id=397436810961195648&flyer=1532509686.897806&sig=a1fd7a44d0e2c8ca69c170ec7e6451bf&app_key_vs=1.12.0&auto_save=0&Idfa=8EE8D065-B41A-48A5-84C2-2E8682378A0E&auth=0

粘贴到terminal之后会变为:'
http://127.0.0.1/330000/v7/diary/draft/save/sa\?appid\=330000\&log_user_id\=397436810961195648\&flyer\=1532509686.897806\&sig\=a1fd7a44d0e2c8ca69c170ec7e6451bf\&app_key_vs\=1.12.0\&auto_save\=0\&Idfa\=8EE8D065-B41A-48A5-84C2-2E8682378A0E\&auth\=0

多了很多的\反斜杠

这是bug还是设置问题
Reply Favorite View the author
All Replies
avatar
zwq133
deepin
2018-07-27 01:49
#1

Reply View the author
avatar
jinyingone
deepin
2018-07-27 01:54
#2

主题的问题,我换成默认主题就好了,之前是白底的那个主题,看来是主题的bug
Reply View the author
avatar
douya250
deepin
2018-07-27 04:39
#3
特殊字符的防止转义,防止字符转义,比如用cd时要cd到???文件夹,就会被转义为三个任意字符的文件夹,用斜杠就可以防止,还有就是空格,如果文件夹有空格也要加斜杠
Reply View the author
avatar
ckurobac
deepin
2018-07-27 06:47
#4
这难道不应该叫预期行为……
防止符号被bash解释成奇奇怪怪的意思……
Reply View the author
avatar
cejola
deepin
2018-11-07 23:37
#5
15.7 还有这个问题,跟 terminal 主题无关,都这样

https://bbs.deepin.org/forum.php\?mod\=viewthread\&tid\=166592


Reply View the author
avatar
cejola
deepin
2018-11-09 02:41
#6
定位了,oh my zsh  的锅
Reply View the author