Author: kamron
Description:
Hello,
I installed mediawiki on IIS recently (1.5.3) and I quickly find that could not
edit when logged in (I could on annonymous though! I disabled anonymous edit
since btw).
So I tried to trace why this was happening by putting some echo in the php code
and found that
$request->getText('wpEditToken') was returning me a constant value no matter
what my browser was sending back.
As the comparaison is failing, $this->preview is then set to true and I can't
validate my changes, only preview them. This seems to be the root of all my
current problems (no updaload possible, can't stay logged if "remember me" tick
box is unticked...).
To summary:
When editing a page and logged in:
The form do contain a wpEditToken value different each time (I checked the HTML
source code).
On commit, this value is then checked againstthe one retrieved by
$request->getText('wpEditToken')
Comparaison constantly fails because $request->getText('wpEditToken') is always
returning the same value (althouth $request->getText( 'wpSummary' ) is working).
Regards,
Jeremy
Any help greatly appreciated
Version: 1.5.x
Severity: normal
OS: Windows 2000
Platform: PC
URL: http://revolution.kamron.net/wiki/index.php