• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

From my test site hosted on Dreamhost I tried to save a topic with a RegExp instruction:

<script type="text/javascript">var re = new RegExp("A"); var m = re.exec("ABC"); alert(m);</script>

Every time I get a 503 error on save:

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Here on ~develop I can save the topic....

What does work is fooling the system:

<script type="text/javascript">var re = new RegExp("A"); var m = re.exe<nop>c("ABC"); alert(m);</script>

AC

Guessing from reports such as http://wordpress.org/support/topic/63283 this could be related to mod_security or the configuration of it at Dreamhost?

-- SP


Yes, going to https://panel.dreamhost.com/index.cgi?tree=domain.manage& and Uncheck "Extra Web Security?" under PHP did the trick.

AC

ItemTemplate
Summary Cannot save a topic with exec() inside javascript
ReportedBy TWiki:Main.ArthurClemens
Codebase

SVN Range TWiki-4.1-beta1, Sun, 23 Jul 2006, build 11130
AppliesTo Engine
Component

Priority Normal
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2006-07-24 - ArthurClemens
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback