rails 可笑的 put 和 delete
input name="_method" type="hidden" value="put"
input name="_method" type="hidden" value="delete"
是哪個神經病想出這種爛招的啊?造成一堆困擾...
What have you found for these years?
input name="_method" type="hidden" value="put"
input name="_method" type="hidden" value="delete"
是哪個神經病想出這種爛招的啊?造成一堆困擾...
Author: Lin Jen-Shin (godfat) at 3/04/2009 04:31:00 PM
2 retries:
原來,把 method 放成 hidden 欄位呀,這招我在 PHP 上也看過 :QQQ
假造 http request 是不好的事
Post a Comment
Note: Only a member of this blog may post a comment.