You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2020/08/03 22:17:04 UTC

[GitHub] [trafficcontrol] rimashah25 commented on a change in pull request #4934: Validating absolute DNS name requirement on Static DNS Entry Type

rimashah25 commented on a change in pull request #4934:
URL: https://github.com/apache/trafficcontrol/pull/4934#discussion_r464690895



##########
File path: traffic_portal/app/src/common/service/utils/LocationUtils.js
##########
@@ -19,6 +19,11 @@
 
 var LocationUtils = function($location, $uibModal) {
 
+    // ... this one allows Static DNS entries with only a trailing period
+    this.StaticDNSPattern = /^(?=.{1,253}\.?$)(?:(?!-|[^.]+_)[A-Za-z0-9-_]{1,63}(?:\.)){2,}$/;

Review comment:
       Ok




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org