Submitted by ChrisBlackwell on Tue, 11/10/2009 - 03:35
This is really a tiny bug, but when a domain name is longer than the specified amount the logic which shortens it is slightly flawed. If you have a domain of equal length to the maximum allowed (or possibly max+1), it is actually lengthened by the addition of three periods in the middle.
An example: hiltonheadvilla9a.com becomes hiltonhead...villa9a.com
if the function to truncate the domain name is going to add 3 characters it should check if length(domainName)+3 > maximumAllowedLength before truncating.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Tue, 11/10/2009 - 13:00 Comment #1
Good point .. I'll fix that in the 3.75 release.
Submitted by ChrisBlackwell on Wed, 11/18/2009 - 03:15 Comment #2
not fixed in 3.75
Submitted by JamieCameron on Wed, 11/18/2009 - 13:12 Comment #3
Hmm .. what is the domain name in question, and what is Virtualmin showing it as?
Submitted by jonkristian on Thu, 11/26/2009 - 10:33 Comment #4
I have the same problem, it happens to all domains that is a certain length. Instead of cutting it off, maybe auto scrolling horizontally would be better? Kinda hard to read them displayed like this.
Submitted by JamieCameron on Thu, 11/26/2009 - 13:41 Comment #5
You can increase the max length if you like, at System Settings -> Module Config -> User interface settings -> Maximum domain name length to display.
Submitted by jonkristian on Fri, 11/27/2009 - 09:52 Comment #6
Nice, thanks for the quick reply:)
Submitted by ChrisBlackwell on Sun, 01/03/2010 - 11:05 Comment #7
Hi Jamie,
An example of the problem is the domain hiltonheadvilla9a.com
with max length set to 20 i get hiltonhead...villa9a.com with max length at 22 i get hiltonheadv...dvilla9a.com
i'm using VM 3.75 on Centos 5
Submitted by JamieCameron on Sun, 01/03/2010 - 12:30 Comment #8
Yes, this is a bug in 3.75 .. but it will be fixed in 3.76
Submitted by Issues on Tue, 01/19/2010 - 01:37 Comment #9
Automatically closed -- issue fixed for 2 weeks with no activity.