Permalink
Browse files

Fix issue MR-174 - Trailing Space on a Hostname/IP will cause the con…

…nection not to happen.
  • Loading branch information...
rmcardle committed Feb 17, 2013
1 parent a01663d commit e6f1c947be4ea6784f7795083f7ea24949264248
Showing with 18 additions and 17 deletions.
  1. +1 −0 CHANGELOG.TXT
  2. +17 −17 mRemoteV1/Connection/Connection.Info.vb
View
@@ -21,6 +21,7 @@
Fix issue MR-165 - Can't close About window if it is the last tab
Fix issue MR-166 - Inheritance button is disabled on some connections
Fix issue MR-172 - RDGatewayPassword is unencrypted in confCons.xml file
+ Fix issue MR-174 - Trailing Space on a Hostname/IP will cause the connection not to happen.
Fix issue MR-176 - Del key while editing connection name triggers 'Delete Connection'
Fix issue MR-181 - Sessions on startup
Fix issue MR-196 - Cannot export list without usernames and passwords
@@ -109,10 +109,10 @@ Namespace Connection
LocalizedDescription("strPropertyDescriptionAddress")> _
Public Property Hostname() As String
Get
- Return Me._Hostname
+ Return Me._Hostname.Trim()
End Get
Set(ByVal value As String)
- Me._Hostname = value
+ Me._Hostname = value.Trim()
End Set
End Property
@@ -132,13 +132,13 @@ Namespace Connection
parCon = parCont.ConnectionInfo
End If
- Return parCon.Username
+ Return parCon.Username.Trim()
Else
- Return Me._Username
+ Return Me._Username.Trim()
End If
End Get
Set(ByVal value As String)
- Me._Username = value
+ Me._Username = value.Trim()
End Set
End Property
@@ -185,13 +185,13 @@ Namespace Connection
parCon = parCont.ConnectionInfo
End If
- Return parCon.Domain
+ Return parCon.Domain.Trim()
Else
- Return Me._Domain
+ Return Me._Domain.Trim()
End If
End Get
Set(ByVal value As String)
- Me._Domain = value
+ Me._Domain = value.Trim()
End Set
End Property
#End Region
@@ -482,13 +482,13 @@ Namespace Connection
parCon = parCont.ConnectionInfo
End If
- Return parCon.RDGatewayHostname
+ Return parCon.RDGatewayHostname.Trim()
Else
- Return Me._RDGatewayHostname
+ Return Me._RDGatewayHostname.Trim()
End If
End Get
Set(ByVal value As String)
- Me._RDGatewayHostname = value
+ Me._RDGatewayHostname = value.Trim()
End Set
End Property
@@ -535,13 +535,13 @@ Namespace Connection
parCon = parCont.ConnectionInfo
End If
- Return parCon.RDGatewayUsername
+ Return parCon.RDGatewayUsername.Trim()
Else
- Return Me._RDGatewayUsername
+ Return Me._RDGatewayUsername.Trim()
End If
End Get
Set(ByVal value As String)
- Me._RDGatewayUsername = value
+ Me._RDGatewayUsername = value.Trim()
End Set
End Property
@@ -588,13 +588,13 @@ Namespace Connection
parCon = parCont.ConnectionInfo
End If
- Return parCon.RDGatewayDomain
+ Return parCon.RDGatewayDomain.Trim()
Else
- Return Me._RDGatewayDomain
+ Return Me._RDGatewayDomain.Trim()
End If
End Get
Set(ByVal value As String)
- Me._RDGatewayDomain = value
+ Me._RDGatewayDomain = value.Trim()
End Set
End Property
#End Region

0 comments on commit e6f1c94

Please sign in to comment.