Revision 2ff8d4ad
Added by Scott Ullrich over 18 years ago
usr/local/www/services_dyndns.php | ||
---|---|---|
73 | 73 |
} |
74 | 74 |
do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors); |
75 | 75 |
|
76 |
if (($_POST['host'] && !is_domain($_POST['host']))) { |
|
77 |
$input_errors[] = "The host name contains invalid characters."; |
|
76 |
if($pconfig['type'] <> "zoneedit") { |
|
77 |
if (($_POST['host'] && !is_domain($_POST['host']))) { |
|
78 |
$input_errors[] = "The host name contains invalid characters."; |
|
79 |
} |
|
78 | 80 |
} |
79 | 81 |
if (($_POST['mx'] && !is_domain($_POST['mx']))) { |
80 | 82 |
$input_errors[] = "The MX contains invalid characters."; |
... | ... | |
192 | 194 |
<span class="red"><strong>Note:<br></strong> |
193 | 195 |
</span> |
194 | 196 |
Enter the complete host/domain name. example: myhost.dyndns.org |
195 |
</span>
|
|
197 |
</span> |
|
196 | 198 |
</td> |
197 | 199 |
</tr> |
198 | 200 |
<tr> |
... | ... | |
227 | 229 |
<td width="22%" valign="top"> </td> |
228 | 230 |
<td width="78%"> |
229 | 231 |
<input name="Submit" type="submit" class="formbtn" value="Save" onClick="enable_change(true)"> |
230 |
</td>
|
|
232 |
</td> |
|
231 | 233 |
<tr> |
232 | 234 |
<td colspan="2" class="list" height="12"> </td> |
233 |
</tr>
|
|
235 |
</tr> |
|
234 | 236 |
</tr> |
235 | 237 |
<tr> |
236 | 238 |
<td colspan="2" valign="top" class="optsect_t"> |
Also available in: Unified diff
Do not check host for errors on zonedit type to allow exotic configuration involving commas, etc to update multiple hostnames.
Ticket #1249