【反馈与建议】发帖失败后出现的奇怪字符【Closed】
例句:
2. Don't ask me; I'm not the regular crewchief.
3. Wait right here, Sir. The crew bus is on it's way.
三次发帖失败后:
2. Don\\\'t ask me; I\\\'m not the regular crewchief.
3. Wait right here, Sir. The crew bus is on it\\\'s way.
例句:
When a forecaster talks about yesterday's weather, he's an historian; when he talks about tomorrow's, he's reading tea leaves.
一次发帖失败后:
When a forecaster talks about yesterday\'s weather, he\'s an historian; when he talks about tomorrow\'s, he\'s reading tea leaves.
似乎每次发帖失败被打回都会在'前面加上个\,烦劳技术部门关注一下此问题。
转义。我们啥时候看看代码。。
@beining
把ASCII码列表丢进去作了一下黑盒测试,存在问题的只有单引号',双引号'和反斜杠\。
每次回复提交失败,以上三个字符都会在前面额外产生一个反斜杠\。
以下为3次提交失败后的结果。注意到\本身在提交失败后也会产生新的\
32 20 space 64 40 @ 96 60 `
33 21 ! 65 A 97 a
34 22 \\\\\\\" 66 B 98 b
35 23 # 67 C 99 c
36 24 $ 68 D 100 d
37 25 % 69 E 101 e
38 26 & 70 F 102 f
39 27 \\\\\\\' 71 G 103 g
40 28 ( 72 H 104 h
41 29 ) 73 I 105 i
42 2A * 74 J 106 j
43 2B + 75 K 107 k
44 2C , 76 L 108 l
45 2D - 77 M 109 m
46 2E . 78 4F N 110 n
47 2F / 79 5F O 111 6F o
48 30 0 80 50 P 112 70 p
49 1 81 51 Q 113 q
50 2 82 52 R 114 r
51 3 83 53 S 115 s
52 4 84 54 T 116 t
53 5 85 55 U 117 u
54 6 86 56 V 118 v
55 7 87 57 w 119 w
56 8 88 58 X 120 x
57 9 89 59 Y 121 y
58 : 90 5A Z 122 z
59 ; 91 5B [ 123 {
60 < 92 5C \\\\\\\\ 124 |
61 = 93 5D ] 125 }
62 > 94 5E ^ 126 ~
63 3F ? 95 5F _ 127 70 DEL
@usernamejim
昨天我code review的时候发现这个bug的原因并修正提交pull request,就等merge了。
@fxxd3740 程序员们辛苦啦~!