Page MenuHomePhabricator

AbuserFilter warnings cause loss of session data when page name contains an exclamation mark
Closed, ResolvedPublic

Description

Hello,

Having an AbuseFilter warning when trying to edit an article the title of which contains an exclamation mark causes a message about loss of session data to appear [1] and prevents any subsequent attempt to publish the changes to succeed [2].
It seems that disabling the AbuseFilter warning is the only way to allow the article to be edited again.

The bug has been seen for the following articles :
http://fr.wikipedia.org/wiki/Hou_!_La_menteuse
http://fr.wikipedia.org/wiki/Qu%27il_est_b%C3%AAte_!
http://fr.wikipedia.org/wiki/Indignez-vous_!

The warning has been disabled for the first two articles, but you may want to try to edit the third one (before I disable the warning for this one too).

It seems that this bug was introduced somewhere between September 9th and December 29th (because the first article was edited on September 9th and I'm pretty sure the warning was already there at that time).

I dumped the HTTP requests and it looks like the information sent to the server (cookies included) is almost the same before and after the warning.

I'd be happy to help with more information / tests; just ask me.

BTW, related discussions (in French) about this bug can be found there:

Best regards,

[1] `Sorry! We could not process your edit due to a loss of session data. Please try again. If it still does not work, try logging out and logging back in.'
[2] Basically, what happens is:

  • edit
  • publish ⇒ abusefilter warning
  • publish ⇒ loss of data session warning
  • publish ⇒ abusefilter warning
  • publish ⇒ loss of data session warning
  • publish ⇒ abusefilter warning
  • publish ⇒ loss of data session warning

Version: unspecified
Severity: major

Details

Reference
bz26635

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:16 PM
bzimport added a project: AbuseFilter.
bzimport set Reference to bz26635.
bzimport added a subscriber: Unknown Object (MLST).

Thanks for your bug report.

I've committed a fix in r111219. It won't quite be active on Wikimedia projects just yet, but that'll come.

Let me know how it goes.