This should have been fixed as part of
Item4756 already where
raw=all
and
raw=debug
have already been spotted as being broken for topics with
a VIEW_TEMPLATEs. Oh well
Most people are still irritated if you click on "Raw view" and you don't get a raw view. The standard url of "Raw view" is using a
raw=on
which still is respecting view templates ...
which it shouldn't.
raw=on
is pretty useless to ajax as far as I can see. You could use a
skin=text
or similar.
Anybody using
raw=on
for ajaxing, last chance: PLEASE SPEAK UP.
--
TWiki:Main/MichaelDaum
- 30 Apr 2008
I use
skin=text
, as you say,
raw=on
implies that you get raw topic text
--
TWiki:Main.SvenDowideit
- 30 Apr 2008
I don't use the view script for AJAXing any more (the error handling is too painful), but like Sven I used
raw=on;skin=text
in older code.
--
TWiki:Main.CrawfordCurrie
- 01 May 2008
Have not found anyone taking advantage raw=on in an application on our TWiki'es.
--
TWiki:Main.KennethLavrsen
- 01 May 2008
Okay so it seems
raw=on
should ignore view_templates the same way as
raw=debug
and
raw=all
?
--
TWiki:Main.MichaelDaum
- 06 May 2008
I saw this as a (security) feature not a bug.

You can hide your TWiki app sources with it.
--
TWiki:Main.OliverKrueger
- 07 May 2008
Hehe, yea me to. But
raw=all
was always an option. Well and
people
complained about
certain twikiapps
breaking normal twiki operations like
raw=on
.
--
TWiki:Main.MichaelDaum
- 08 May 2008
Hiding TWiki source is un-wiki and a total misunderstanding of what a wiki is all about.
It should ALWAYS be possible to see the sources of a TWiki page as long as you have access rights to see the topic.
I would not want to see features popping up in TWiki that enables closed source, proprietary content, experts only, behavior from application writers. There are other CMS type platforms that does this much better than TWiki. We must never loose the core values of TWiki which is the openess and the wiki principle.
--
TWiki:Main.KennethLavrsen
- 11 May 2008
Kenneth, what exactly are you talking about?
This report is about
fixing a bug -- not
keeping a niche that unfortunately still exists in 4.2. I just wanted to make sure that nobody is still using it.
So as nobody objected until now, we will make
raw=on
behave like it should.
--
TWiki:Main.MichaelDaum
- 17 May 2008
My answer was to Oliver. There should at least always be ONE way to see the sources of a TWiki topic people looking at sources is one of the best ways to learn how to build your own application and being a great believer in open source I find this higher priority than helping some app developer to protect his sources.
No problem with me in you changing this as you suggested in the intro Michael.
--
TWiki:Main.KennethLavrsen
- 19 May 2008
Downgrading to Normal. We can release 4.2.1 with this unfixed
--
TWiki:Main.KennethLavrsen
- 27 May 2008
This one was too easy to fix to let it slip through.
--
TWiki:Main.MichaelDaum
- 30 May 2008