summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorRavi Gohil (Open ERP) <rgo@tinyerp.com>2012-04-06 11:15:12 +0530
committerRavi Gohil (Open ERP) <rgo@tinyerp.com>2012-04-06 11:15:12 +0530
commit1ec6d88bb1957723787c4051538d299d5f8eb48e (patch)
treef4f533b01e0592b6eeaebe2f284dfa334fce7d92 /addons/web/static/src/xml/base.xml
parentccafcb6d90e5d3e91db3df34a7a1c68eacfaa6fc (diff)
[FIX] base.xml: Restore database functionality allows user to set new Database Name with special characters which should be restricted: (Maintenance Case : 573531)
lp bug: https://launchpad.net/bugs/959066 fixed bzr revid: rgo@tinyerp.com-20120406054512-z8b7p4r3fa813e3r
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index a0643105055..00947811464 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -189,7 +189,7 @@
</tr>
<tr>
<td><label for="new_db">New database name:</label></td>
- <td><input type="text" name="new_db" class="required"/></td>
+ <td><input type="text" name="new_db" class="required" matches="^[a-zA-Z][a-zA-Z0-9_]+$"/></td>
</tr>
<tr>
<td colspan="2" align="right"><button class="oe_button">Restore</button></td>