Closed Bug 478680 Opened 16 years ago Closed 14 years ago

Make preview do something sensible for non-HTML / text files

Categories

(Skywriter Graveyard :: Server, defect, P3)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: dion, Assigned: dangoor)

Details

--- I've just run a simple hello.php file with Bespin <?php echo('hello world!'); ?> --- Apache 500'd so it appears that it didn't potentially get to the python server itself?
Assignee: nobody → kdangoor
Priority: -- → P3
Whiteboard: server
What do you mean by "preview"? You mean actually _run_ the PHP or just display the text?
View the text. We obviously don't want to run arbitary PHP code :)
Ok, good... just double checking! :)
There's an assignee set, so these should be ASSIGNED. If you're listed as the assignee, and you don't plan on working on this bug, please remove yourself from the assignee field and set this back to NEW.
Status: NEW → ASSIGNED
This is a mass migration from Mozilla Labs :: Bespin to Bespin :: Server.
Component: Bespin → Server
Product: Mozilla Labs → Bespin
QA Contact: bespin → server
Whiteboard: server
Target Milestone: Future → ---
We should either disable preview for non-HTML and plain text or explicitly convert mime types to plain text for everything non-HTML
Summary: Previewing a php file gives a 500 error → Make preview do something sensible for non-HTML / text files
ACETRANSITION The Skywriter project has merged with Ajax.org's Ace project (the full server part of which is their Cloud9 IDE project). Background on the change is here: http://mozillalabs.com/skywriter/2011/01/18/mozilla-skywriter-has-been-merged-into-ace/ The bugs in the Skywriter product are not necessarily relevant for Ace and quite a bit of code has changed. For that reason, I'm closing all of these bugs. Problems that you have with Ace should be filed in the Ace issue tracker at GitHub: https://github.com/ajaxorg/ace/issues
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.