[pve-devel] r6186 - in pve-access-control/trunk: . PVE

svn-commits at proxmox.com svn-commits at proxmox.com
Mon Jun 27 13:54:16 CEST 2011


Author: dietmar
Date: 2011-06-27 13:54:16 +0200 (Mon, 27 Jun 2011)
New Revision: 6186

Modified:
   pve-access-control/trunk/ChangeLog
   pve-access-control/trunk/Makefile
   pve-access-control/trunk/PVE/AccessControl.pm
   pve-access-control/trunk/changelog.Debian
Log:


Modified: pve-access-control/trunk/ChangeLog
===================================================================
--- pve-access-control/trunk/ChangeLog	2011-06-27 10:40:00 UTC (rev 6185)
+++ pve-access-control/trunk/ChangeLog	2011-06-27 11:54:16 UTC (rev 6186)
@@ -1,3 +1,7 @@
+2011-06-27  Proxmox Support Team  <support at proxmox.com>
+
+	* PVE/AccessControl.pm (normalize_path): allow '-' in path
+
 2011-05-30  Proxmox Support Team  <support at proxmox.com>
 
 	* PVE/AccessControl.pm (assemble_csrf_prevention_token): CSRF

Modified: pve-access-control/trunk/Makefile
===================================================================
--- pve-access-control/trunk/Makefile	2011-06-27 10:40:00 UTC (rev 6185)
+++ pve-access-control/trunk/Makefile	2011-06-27 11:54:16 UTC (rev 6186)
@@ -1,6 +1,6 @@
 RELEASE=2.0
 
-VERSION=0.1
+VERSION=1.0
 PACKAGE=libpve-access-control
 PKGREL=1
 

Modified: pve-access-control/trunk/PVE/AccessControl.pm
===================================================================
--- pve-access-control/trunk/PVE/AccessControl.pm	2011-06-27 10:40:00 UTC (rev 6185)
+++ pve-access-control/trunk/PVE/AccessControl.pm	2011-06-27 11:54:16 UTC (rev 6186)
@@ -613,7 +613,7 @@
 
     $path = '/' if !$path;
 
-    return undef if $path !~ m|^[\w\/]+$|;
+    return undef if $path !~ m|^[[:alnum:]\-\_\/]+$|;
 
     return $path;
 } 

Modified: pve-access-control/trunk/changelog.Debian
===================================================================
--- pve-access-control/trunk/changelog.Debian	2011-06-27 10:40:00 UTC (rev 6185)
+++ pve-access-control/trunk/changelog.Debian	2011-06-27 11:54:16 UTC (rev 6186)
@@ -1,3 +1,11 @@
+libpve-access-control (1.0-1) unstable; urgency=low
+
+  * allow '-' in permission paths
+  
+  * bump version to 1.0
+
+ -- Proxmox Support Team <support at proxmox.com>  Mon, 27 Jun 2011 13:51:48 +0200
+
 libpve-access-control (0.1) unstable; urgency=low
 
   * first dummy package - no functionality




More information about the pve-devel mailing list