Closed Bug 131966 Opened 22 years ago Closed 22 years ago

Double sending page requests

Categories

(Core :: Internationalization, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: tokugawa, Assigned: shanjian)

References

()

Details

(Keywords: intl)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020315
BuildID:    00000000

I play on-line game called "Red dragon". All works fine with mozilla, but if i
click on the next day button, TWO days pass. It seems that mozilla sends page
request two times, and game server count it.


Problem exists with older mozilla's and galeon. (with IE works fine :(()

Reproducible: Always
Steps to Reproduce:
1.You must login. I created special account (on my email, don't worry) for that.
Go to www.rd2.cz and fill:
Jméno: testtoku
Heslo: daytest
(don't worry rest game will be in english;)
and click in the gate below.
2. You see main screen and "MozillaTest (number)/(number)" on it
3. Click the lowest button on the left (bellow "Log out")

New turn... You have limited turns per calendar day so, don't click many times
to check.

4. You can click again to chcek.....
5. If this was your last turn you must wait till 0:00 (midnight) It's game desing.

Actual Results:  the left number is incremented by 2 in "MozillaTest
(number)/(number)"

Expected Results:  the left number should be incremented by 1 in  "MozillaTest
(number)/(number)"

I changed settings, I manually copy&paste link and run it. The problem still exist.
This is happening because of the 

<meta http-equiv='Content-Type' content='text/html; charset=windows-1250'>

tag.  When we see that, we reload the page with the new charset.  You may want
to consider sending that as an actual HTTP header instead....

Duplicate of "<meta> with charset should NOT cause reload"

Thank you for the login information and directions, by the way!  They made this
a pleasure to debug...


*** This bug has been marked as a duplicate of 61363 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
bz: where in that page was the <meta ...> element located (i.e., how many bytes 
into the document). This should only cause that reload if it is more than 2k 
bytes into the document.
It's near the top:

<html>
<head>
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache"></head>

<head>
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta http-equiv='Content-Type' content='text/html; charset=windows-1250'>

definitely not 2k bytes in.  This is a separate bug then, I assume?
Yeah, that preamble should not cause the "charset reload" to happen (unless 
there were another '<meta ..' that changed to another charset, further on 
in the same document).

Reopening for a little more investigation...
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
jkeiser, would this be form submission or intl?
Stupid me.  This is a simple link click, hence no form submission issues... I
_am_ seeing the bug with a current linux build.
Assignee: new-network-bugs → yokoyama
Status: UNCONFIRMED → NEW
Component: Networking → Internationalization
Ever confirmed: true
QA Contact: benc → ruixu
Keywords: intl
QA Contact: ruixu → ylong
Dupe of bug 61363, I think.
The test account does not seem working any more. Could somebody submit the 
page source after click "next day"?

reassign to myself. 
Assignee: yokoyama → shanjian
I have reactivated the account.
Strange... it's work ok now (for me) The same mozilla (0.9.9). Maybe they
repaired the page..
mark this one as WFM. Reopen it if different behavior is observered. 
Status: NEW → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → WORKSFORME
Verified works for me according to comment #9.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.