equal
deleted
inserted
replaced
268 } else { |
268 } else { |
269 $fields = preg_split('/ /', $content, 2); |
269 $fields = preg_split('/ /', $content, 2); |
270 } |
270 } |
271 |
271 |
272 for ($i = 0; ($i < 2); $i++) { |
272 for ($i = 0; ($i < 2); $i++) { |
273 if (!preg_match("/^([^\s]{1,1000}|\"([^\"]{1,998}\")$/i", $fields[$i])) { |
273 if (!preg_match("/^([^\s]{1,1000}|\"([^\"]{1,998}\"))$/i", $fields[$i])) { |
274 error(ERR_DNS_HINFO_INV_CONTENT); return false; |
274 error(ERR_DNS_HINFO_INV_CONTENT); return false; |
275 } |
275 } |
276 } |
276 } |
277 |
277 |
278 return true; |
278 return true; |