Ravi Gohil (OpenERP) has proposed merging
lp:~openerp-dev/openerp-web/6.1-opw-573531-rgo into lp:openerp-web/6.1.
Requested reviews:
Naresh(OpenERP) (nch-openerp)
Related bugs:
Bug #959066 in OpenERP Web: "Restoring database"
https://bugs.launchpad.net/openerp-web/+bug/959066
For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-573531-rgo/+merge/101062
Hello,
Web-Client allows user to set a New Database name with special characters while
restoring a database.
This fix restricts naming database with special characters and allows only
characters which are allowed by creation of database.
Kindly review it.
Thanks.
--
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-573531-rgo/+merge/101062
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openerp-web/6.1-opw-573531-rgo.
=== modified file 'addons/web/static/src/xml/base.xml'
--- addons/web/static/src/xml/base.xml 2012-03-20 10:56:01 +0000
+++ addons/web/static/src/xml/base.xml 2012-04-06 05:50:24 +0000
@@ -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>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp