After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 587608 - Show page source doesn't work
Show page source doesn't work
Status: RESOLVED DUPLICATE of bug 503968
Product: epiphany
Classification: Core
Component: General
2.26.x
Other All
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-07-02 13:29 UTC by godlark
Modified: 2009-07-12 22:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description godlark 2009-07-02 13:29:10 UTC
Please describe the problem:
Epiphany shows page source, but when the site handles data from from, the page source always is the same as site, which didn't get data from form, also when I want see page source, which got a form.
wysylanie.html:
"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<title>Moja strona WWW</title>
</head>
<body>
<form name="ogolny" action="odbior.php" method="POST" enctype="multipart/form-data">
<textarea name="tekst" cols="12" rows="4"></textarea><br />
<input type="file" name="plik" /><br />
<button type="submit">Wyślij</button><br />
</form>
</body>
</html>"



odbior.php:
"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<?php
	$uzupelniony = (isSet($_POST['tekst'])) & ($_FILES['plik']['error'] == UPLOAD_ERR_OK);	
	if(! $uzupelniony)
	{
		echo '<meta http-equiv="Refresh" content="4; url='.$_SERVER['HTTP_REFERER'].'" />';
?>
<title>Moja strona WWW</title>
</head>
<body>
<?php
		echo "Uzupełnij formularz";
	}
	else
	{
		$uploaddir = "./";
		$new_filename = $uploaddir.$_FILES['plik']['name'];
		$temp_filename = $_FILES['plik']['tmp_name'];
		if(move_uploaded_file($temp_filename, $new_filename))
			echo "<img src=\"".$new_filename."\" />";
		else
			echo "<strong>Nie udało się załadować pliku</strong><br />";
		echo $_POST['tekst'];
	}
?>
</body>
</html>"

Steps to reproduce:



Actual results:


Expected results:


Does this happen every time?
Yes.

Other information:
Comment 1 Reinout van Schouwen 2009-07-02 13:58:14 UTC
Is this also the case with Epiphany 2.27.3?

Epiphany 2.26, which you use, is based on Gecko (Mozilla) and is no longer developed. Epiphany 2.27.x is based on WebKit.
Comment 2 godlark 2009-07-03 10:16:37 UTC
Epiphany 2.27.3 doesn't show any page source. I clicked on "Page source" and I was waiting and ... nothing.
Comment 3 Jorge Kalmbach 2009-07-12 17:09:26 UTC
I think this bug report is a duplicate of bug 503968.
Comment 4 Reinout van Schouwen 2009-07-12 22:22:47 UTC
Yep. Thanks!

*** This bug has been marked as a duplicate of 503968 ***