Closed
Bug 134376
Opened 24 years ago
Closed 24 years ago
URL bar: post method keeps get method parametersin the URL Bar if URL doesn't change
Categories
(SeaMonkey :: Location Bar, defect)
Tracking
(Not tracked)
VERIFIED
INVALID
People
(Reporter: benjamin, Assigned: hewitt)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:0.9.9+) Gecko/20020328
BuildID: 2002032808
Reproducible: Always
Steps to Reproduce:
1) Go to http://www.linux.perspectives.qc.ca/mozilla/?foo=foo@bar.com
2) Enter any keyword
3) Submit form
Actual Results: The form method="post" doesn't remove the ?foo=foo@bar.com in
the URL bar. Can cause problem if user press "enter" on the URL bar after he had
submitted form.
Expected Results: Old parameters should be removed
It WFM in NN4.7 but IE 5 Mac has the same problem.
**************** HTML/PHP CODE ******************
<html>
<body>
<form name="formulaire" action="<?php $SELF_PHP ?>" method="post">
email:<input type="text" name="user_email" size="31" value="<?php echo $foo ?>"><br>
pw:<input type="password" name="user_password" size="31"><br>
<input type="submit" name="submit" value="Go">
</form>
</body>
</html>
Comment 1•24 years ago
|
||
Reporter: There is no variable in PHP named SELF_PHP. This causes the form to
contain action="". I think you mean PHP_SELF.
Can you change the SELF_PHP to PHP_SELF and try again?
Thanks!
| Reporter | ||
Comment 2•24 years ago
|
||
duh. Duh. duH. <?php echo $PHP_SELF ?> is the complete anwser.
Overtime productivity at work ;-)
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Updated•17 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•