From 08cc7f673c377bf88897743e340097e93f1e95f4 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Wed, 16 Jan 2013 09:30:05 -0500
Subject: [PATCH] - Changed regex for redirect path (Web sites, subdomains, vhost subdomains, alias domains) and web folder (vhost subdomains) so that ".." is not allowed (in order to prevent path traversals). - nginx: don't allow folders for proxy redirects (subdomains and alias domains); URL is required. - nginx: modified rewriting.

---
 remoting_client/examples/sites_web_domain_add.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/remoting_client/examples/sites_web_domain_add.php b/remoting_client/examples/sites_web_domain_add.php
index 2905db0..9481cd3 100644
--- a/remoting_client/examples/sites_web_domain_add.php
+++ b/remoting_client/examples/sites_web_domain_add.php
@@ -18,8 +18,8 @@
 	$client_id = 1;
 	
 	$params = array(
-			'server_id' => 0,
-			'ip_address' => '',
+			'server_id' => 1,
+			'ip_address' => '*',
 			'domain' => 'test2.int',
 			'type' => 'vhost',
 			'parent_domain_id' => 0,

--
Gitblit v1.9.1