Submitted by : simon at: 2003-10-26T21:32:04+00:00 (14 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

Defaults.py does not contain an entry for ZWiki pages that contain structured text and DTML.

ZWikiPage.py contains stxprelinkdtmlfitissuehtml which is described as STX + wiki links + DTML + fit tests + issue + HTML and is not deprecated.

Can be fixed by adding a stxprelinkdtmlfitissuehtml line to Defaults.py:

  ######################################################################
  # global flags and constants for ZWiki

  DEFAULT_PAGE_TYPES = (                  # page types available by default
      'stxprelinkfitissuehtml',           # (see ZWikiPage for more)
      'stxprelinkdtmlfitissuehtml',       # ** THIS LINE ADDED **
      'rstprelinkfitissue',    
      'wwmlprelinkfitissue',
      'html',
      )

that's right --SimonMichael, 2003/06/05 11:36 GMT
I didn't include DTML page types among the default allowed types, as a safety precaution, until the security issues are better documented. This means those of us with deluxe DTML-enabled wikis (the minority, presumably ?) - plus editors of RecentChanges?/SearchPage?/UserOptions? in any wiki - are seeing warnings about changing page types in the editform. To get around this, customize your allowed types: add a allowed_page_types lines property to the wiki or root folder containing:

 stxprelinkdtmlfitissuehtml
 stxprelinkfitissuehtml
 rstprelinkfitissue
 wwmlprelinkfitissue
 html

or whatever. (Editing the source as above is of course another option).

Does this resolve it ?

property change --SimonMichael, 2003/06/05 11:40 GMT
Status: open => pending


comments:

property change --SimonMichael, 2003/08/02 23:47 GMT reply
Status: pending => closed