Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Special character not accepted in URL
Message
From
30/07/2012 13:41:45
 
 
To
30/07/2012 13:26:09
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01549531
Message ID:
01549532
Views:
52
I was calling a method I created such as this:
        ' Encode
        Public Function Encode(ByVal tcValue As String) As String
            Dim lcValue As String = ""

            lcValue = Trim(tcValue)
            lcValue = System.Web.HttpUtility.HtmlEncode(lcValue)

            Return lcValue
        End Function
But, for a URL, UrlEncode() should be called.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform