[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: 500 Internal Server Error



In [emacs-w3m : No.12772]
On Wed, 26 Jul 2017 11:28:28 +0900, Katsumi Yamaoka wrote:
> There is a bad thing in the cookies handling of emacs-w3m

I believe I've fixed it.  Here is a comment added to ChangeLog.

*Please pay attention to the last half*

Regard a Set-Cookie header as it contains a single cookie, that is,
the one at the beginning of the field is it and succeeding semi-colon
separated ones are the attributions of it.  Formerly the Lisp code
regarded the semi-colon separated ones as all individual cookies, and
therefore the locally stored cookies would potentially be all bogus.
So, we highly recommend resetting it once when you start using or if
you are already using this version of w3m-cookie.el.  To do that,
shutdown Emacs and delete the "~/.w3m/.cookie" file (or the ".cookie"
file existing in the `w3m-profile-directory').

Japanese:
一つの Set-Cookie ヘッダーは単一のクッキーを持つものと解釈するよ
うにしました。つまり、そのフィールドの最初にあるものがそれ、後続
のセミコロンで区切られたものたちは、その属性です。以前のコードは
セミコロンで区切られたものを、すべて独立したクッキーであると見な
していたので、ローカルに保存されたクッキーはすべてダメである可能
性があります。
そういうわけで、もしこのバージョンの w3m-cookie.el を使い始める
とき、またはすでに使っているのであれば、それを一度リセットするこ
とを強く推奨します。それには Emacs を終了して "~/.w3m/.cookie"
ファイル (または `w3m-profile-directory' にある ".cookie" ファイ
ル) を消してください。