Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 312479 Details for
Bug 456413
RHN Satellite should allow FQDN with two parts
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to fix FQDN subroutines in rhn-base 5.x (source from spacewalk-git-20080702)
fqdn.patch (text/plain), 1.13 KB, created by
Pieter Krul
on 2008-07-23 13:00:16 UTC
(
hide
)
Description:
Patch to fix FQDN subroutines in rhn-base 5.x (source from spacewalk-git-20080702)
Filename:
MIME Type:
Creator:
Pieter Krul
Created:
2008-07-23 13:00:16 UTC
Size:
1.13 KB
patch
obsolete
>--- web/modules/rhn/RHN/Form/Require.pm.orig 2008-07-23 14:51:14.000000000 +0200 >+++ web/modules/rhn/RHN/Form/Require.pm 2008-07-23 14:51:30.000000000 +0200 >@@ -140,7 +140,7 @@ > my @non_empty_parts = grep { $_ } @parts; > > return "Invalid {widget_name}: <strong>$text</strong> does not appear to be a valid hostname." >- unless (scalar @parts >= 3 and scalar @parts == scalar @non_empty_parts); >+ unless (scalar @parts >= 2 and scalar @parts == scalar @non_empty_parts); > > if ($text =~ /([^a-zA-z0-9\.-])/) { > return "Invalid {widget_name}: <strong>$text</strong> contains a character that is not allowed in a hostname: <strong>$1</strong>"; >@@ -160,7 +160,7 @@ > my @non_empty_parts = grep { $_ } @parts; > > return "Invalid {widget_name}: <strong>$text</strong> does not appear to be a valid hostname." >- unless (scalar @parts >= 3 and scalar @parts == scalar @non_empty_parts); >+ unless (scalar @parts >= 2 and scalar @parts == scalar @non_empty_parts); > > if ($text =~ /([^a-zA-z0-9\.-:])/) { > return "Invalid {widget_name}: <strong>$text</strong> contains a character that is not allowed in a hostname: <strong>$1</strong>";
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 456413
: 312479