"Wikitravel has a speed and convenience the books' publishers can only envy." Time Europe

Difference between revisions of "Tech:Session got mixed up"

From Wikitravel Shared
Jump to: navigation, search
(I think it's fixed)
Line 16: Line 16:
 
== How to fix it ==
 
== How to fix it ==
  
 +
What I think happened is that the server cached the page in its "edit" action. One of the global variables I used to check for this disappeared in 1.10.0, and apparently the check I put in to replace it didn't work that well. So I've gotten a little more aggressive, and hopefully that will fix the situation. --[[User:Evan|Evan]] 11:47, 28 June 2007 (EDT)
  
 
[[Category:Open bug reports]]
 
[[Category:Open bug reports]]

Revision as of 15:51, 28 June 2007

Contents

What happens

The strangest thing happened when I tried to view the Hyderabad page on en. I don't think I can replicate it now, but I am filing a bug report because it might be a potential security issue. Let me see if I can explain the sequence.

  1. At around 5:30 PM India time (12 Noon UTC) I wanted to view the Hyderabad page on en. Instead of showing me the actual page, what it showed me was the edit page of Get around/By taxi i.e. this page [1]. Please note that I had not clicked on any edit button. Which is more, it was prefilled with an edit summary "which idiot gave the hyderabad std code as 44,changed to 40 ~ Vamsee,Hyderabad"! I tried going to the article in many other ways in the next minute and all those ways brought me to the same edit page.
  2. Then I tried to save from that edit link and it did not let me, because of loss of session data.
  3. So I go to the recent changes and there I see that someone else has edited the exact same section of the Hyderabad page [2] with the same edit summary.
  4. I went back to the Hyderabad page and everything was normal again.

So what seems to have happened is that for that brief moment, Wikitravel went crazy and thought that I was the anonymous user who was editing it. Probably the anon user had previewed his/her change, so the system knew what the edit summary was.

Ravikiran r 08:20, 28 June 2007 (EDT)

When it happens

What should happen

How to fix it

What I think happened is that the server cached the page in its "edit" action. One of the global variables I used to check for this disappeared in 1.10.0, and apparently the check I put in to replace it didn't work that well. So I've gotten a little more aggressive, and hopefully that will fix the situation. --Evan 11:47, 28 June 2007 (EDT)

Variants

Actions

In other languages