Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pve-manager
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
pve-manager
Commits
5739a114
Commit
5739a114
authored
Apr 02, 2012
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug #135: allow single letter 'dns-name', allow to start names with numbers
parent
3c9047f6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
changelog.Debian
debian/changelog.Debian
+7
-0
defines.mk
defines.mk
+1
-1
Utils.js
www/manager/Utils.js
+1
-1
No files found.
debian/changelog.Debian
View file @
5739a114
pve-manager (2.0-55) unstable; urgency=low
* fix bug #135: allow single letter 'dns-name', allow to start names
with numbers
-- Proxmox Support Team <support@proxmox.com> Mon, 02 Apr 2012 12:13:33 +0200
pve-manager (2.0-54) unstable; urgency=low
* use /etc/subscription to store subscription key
...
...
defines.mk
View file @
5739a114
...
...
@@ -2,7 +2,7 @@ RELEASE=2.0
VERSION=2.0
PACKAGE=pve-manager
PACKAGERELEASE=5
4
PACKAGERELEASE=5
5
BINDIR=${DESTDIR}/usr/bin
PERLLIBDIR=${DESTDIR}/usr/share/perl5
...
...
www/manager/Utils.js
View file @
5739a114
...
...
@@ -65,7 +65,7 @@ Ext.apply(Ext.form.field.VTypes, {
HttpProxyText
:
gettext
(
'
Example
'
)
+
"
: http://username:password@host:port/
"
,
DnsName
:
function
(
v
)
{
return
(
/^
(([
a-zA-Z
]
|
[
a-zA-Z
][
a-zA-Z0-9
\-]
*
[
a-zA-Z0-9
])\.)
*
([
A-Za-z
]
|
[
A-Za-z
][
A-Za-z0-9
\-]
*
[
A-Za-z0-9
]
)
$/
).
test
(
v
);
return
(
/^
(([
a-zA-Z
0-9
]([
a-zA-Z0-9
\-]
*
[
a-zA-Z0-9
])?)\.)
*
([
A-Za-z0-9
]([
A-Za-z0-9
\-]
*
[
A-Za-z0-9
])?
)
$/
).
test
(
v
);
},
DnsNameText
:
gettext
(
'
This is not a valid DNS name
'
)
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment