Closed Bug 283718 Opened 20 years ago Closed 20 years ago

view-source of framed CGIs does not display properly when CGI requires args via POST

Categories

(Camino Graveyard :: Tabbed Browsing, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mozilla.org, Assigned: mikepinkerton)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041201 Camino/0.8.2
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041201 Camino/0.8.2

First off: fantastic work, in general. Thanks for a great browser!

I've been using Camino (2004120113/v0.8.2) for several weeks now to develop our
in-house provisioning/CRM/time-tracking app. It's faster on my Mac (iMac
G4/1GHz/768MB/OSX 10.3.7) than Firefox 1.0. My one major complaint is its
display of _frame_ source. Our app puts CGIs in frames (shameful, I know), and
when I go to view the source of frames generated by CGIs that require input by
way of POST, the source I see is that of my "you forgot to supply arguments via
POST" errors. It's almost as if view-source re-requests the page instead of
showing already-downloaded copy.

If I break the CGI out into its own window prior to the point at which it
requires args and follow through to the point at which I want to see the source,
Camino displays the source of the page properly, as does Firefox 1.0. 

In neither case does my app server (Apache-based) log another hit to the CGI
script when I request the source in Camino (and yes, I've dumped the cache
before trying). I imagine it's possible that it's a flaw in my scripts, but as
stated above: viewing frame source works as I'd expect in Firefox 1.0, not to
mention Safari 1.2.4. 

Any thoughts?

Reproducible: Always

Steps to Reproduce:
1. Write a CGI script that outputs any ol' HTML if it receives specific
arguments via CGI/POST, but outputs an error message (HTML, of course) if it
doesn't. 
2. Set up a rudimentary frameset so that you can call this CGI into one of the
frames.
3. Run it in the browser to the point where it generates the "desired" HTML.
4. Right-click on the output frame and select "View Frame Source".
Actual Results:  
5. See the source of your "you didn't supply arguments" error page instead of
the source of your "desired" output.

Expected Results:  
Display the output of the CGI as rendered in the browser window.

Visit https://xphile.noiseplant.com/camino_cgi_demo for "the demo". Thanks!
WFM 2005041408 NB
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.