Show HN:以“Like "”开头写文本
2 分•作者: noduerme•9 个月前
这真是个荒谬的“漏洞”。一位使用 iPhone 的朋友给我安卓手机发了一条短信,内容是:<p><i>喜欢:“我在想一个数字”</i><p>谷歌的 Messages 应用却将其解读为:<p>发给“我在想一个数字”<p>我当时就懵了,你在回复谁啊?!<p>经过一分钟的完全沟通障碍,我才意识到 Messages 肯定是只用了前六个字符来判断某条消息是否是“喜欢”指令。
查看原文
This is such a ridiculous hack. A friend with an iphone sent a text to my Android reading:<p><i>Like: "I'm thinking of a number"</i><p>Google's Messages app interpreted this as:<p>to "I'm thinking of a number"<p>I was like, who are you responding to?!<p>It took a minute of total miscommunication to realize that Messages must be just using the first six characters to decide if something is a "like" command