php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68950 Preview fails to display
Submitted: 2015-01-29 19:08 UTC Modified: 2015-04-20 11:29 UTC
Votes:7
Avg. Score:4.4 ± 0.5
Reproduced:7 of 7 (100.0%)
Same Version:3 (42.9%)
Same OS:3 (42.9%)
From: cmbecker69 at gmx dot de Assigned:
Status: Verified Package: Online Doc Editor problem
PHP Version: Irrelevant OS: *
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cmbecker69 at gmx dot de
New email:
PHP Version: OS:

 

 [2015-01-29 19:08 UTC] cmbecker69 at gmx dot de
Description:
------------
The preview in the Php Docbook Online Editor fails to display.
Firstly, it tries to request a resource via HTTP in a resource
served via HTTPS[1], what is blocked by many browsers. But even if
I allow insecure resources, the preview can't be displayed due to
X-Frame-Options[2].

Maybe this is related to #67679.

[1] Mixed Content: The page at
'https://edit.php.net/?code=75e959fd3a667b0f8af2' was loaded over
HTTPS, but requested an insecure resource
'http://preview.php.net/manual/en/phdoe-1422553794-function.fputcsv.php?0.26256591710262'.
This content should also be served over HTTPS.
[2] Refused to display
'http://preview.php.net/manual/en/phdoe-1422553794-function.fputcsv.php?0.26256591710262'
in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-03-08 19:08 UTC] cmbecker69 at gmx dot de
While the first issue has been fixed in the meantime[1], the
preview still doesn't work for me due to the second issue.

[1] <https://bugs.php.net/bug.php?id=67679>
 [2015-04-20 11:29 UTC] pasindu@php.net
-Status: Open +Status: Verified
 [2017-03-06 15:34 UTC] royanee at gmail dot com
Still broken two years later. What's going on?
 [2017-03-29 05:53 UTC] jb at nahan dot fr
How to preview change for edit the documentation correctly ? Unable to preview change before send to review.
 [2018-08-26 17:09 UTC] craig at craigfrancis dot co dot uk
Even if the "preview.php.net" website fixed it's "X-Frame-Options" (issue 2), the web page will just show the 404 error message:

"The manual page you are looking for (...) is not available on this server right now. Please check back later, or if the problem persists, contact the webmasters."
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 23:01:29 2024 UTC