<p>Quick check that a submitted fqdn uses valid characters and is less than 255 characters overall. Should still be rewritten to also check that each dot-separated segment is less than 63 characters.</p>

<p>To test, submit 3 domains through luci-commotion-dash: <a href="http://www.commotionwireless.net">www.commotionwireless.net</a>, <a href="http://www.commotionwireless.net:1337">www.commotionwireless.net:1337</a>, and <a href="http://www.comm%00tionwireless.net">www.comm%00tionwireless.net</a>. Only the first should be accepted.</p>

<hr>

<h4>You can merge this Pull Request by running</h4>
<pre>  git pull https://github.com/opentechinstitute/luci-commotion is_fqdn</pre>
<p>Or view, comment on, or merge it at:</p>
<p>  <a href='https://github.com/opentechinstitute/luci-commotion/pull/22'>https://github.com/opentechinstitute/luci-commotion/pull/22</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Added validation for fqdns instead of just hostnames</li>
  <li>added endpoints to quick fqdn string check</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/opentechinstitute/luci-commotion/pull/22/files#diff-0">luasrc/commotion_helpers.lua</a>
    (15)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/opentechinstitute/luci-commotion/pull/22.patch'>https://github.com/opentechinstitute/luci-commotion/pull/22.patch</a></li>
  <li><a href='https://github.com/opentechinstitute/luci-commotion/pull/22.diff'>https://github.com/opentechinstitute/luci-commotion/pull/22.diff</a></li>
</ul>