URL Encoding is a mechanism for encoding information in a Uniform Resource Identifier (URI) under certain circumstances.
0
votes
1answer
17 views
Strange behavior with WCF WebGetAttribute's UriTemplate property
I'm done banging my head on the keyboard for this one.
I have a WCF client project that can be used to hit the Yahoo GeoPlanet service. One of their endpoints for free-text querying can be ...
0
votes
0answers
7 views
Chrome - URL encoding issue or bug?
Whenever I use the below URL Chrome doesn't encode {} and this actually causes issue when passing the data to underlying application via HTTP.
http://URL/sampleApp/getData/name/{peter}
The same URL ...
5
votes
8answers
9k views
ASP.NET: Get *real* raw URL
In ASP.NET, is there any way to get the real raw URL?
For example, if a user browse to "http://example.com/mypage.aspx/%2F", I would like to be able to get "http://example.com/mypage.aspx/%2F" rather ...
0
votes
0answers
9 views
Webtrends: dcsqry parameter won't be generated
I have implemented dcs WT tracking. The problem is, despite the dcsuri being currently set, I don't get the right dcsqry parameter generated from the script. For example:
Desired result:
...
0
votes
0answers
47 views
Detect invalid URL/URI Encoding sequence in C++
I'm using a CPP version of this code http://www.w3.org/International/unescape.java to decode the url encoded string back to its original form. I want to be able to detect invalid uri/url encoded ...
0
votes
1answer
13 views
Accessing a URL with accent in Java is not working
The following code retrieves for me a URL content and save it into a file:
URI obj_uri = new URI(uri);
URLConnection connection = obj_uri.toURL().openConnection();
connection.connect();
byte[] ...
0
votes
1answer
26 views
Java handle special characters request parameters
Im working on a Flex-Java (Client-Server) application and Im stuck on a problem.
Im sending to the server path parameters and receiving them on a JSP, sometimes, those parameters have special ...
3
votes
1answer
64 views
How to pass %2f to java.net.URI without it being turned into /
I'm using Dispatch from Scala as follows:
val body = """{"count":5,"requeue":true,"encoding":"auto","truncate":50000}"""
val req = ...
0
votes
1answer
15 views
Parsing InputStream from URL StAX
I am trying to parse RSS feed, and have problem with encoding
if encoding utf-8, result correct, but problem with another type, espessially windows-1251
the code is below
XMLInputFactory ...
2
votes
2answers
20 views
UrlPathEncode in Silverlight?
I'm trying to encode Unicode characters in a URL in my Silverlight project. I want to use HttpUtility.UrlPathEncode (Source)
However, this version of the HttpUtility class resides in System.Web which ...
0
votes
1answer
20 views
Browser automatically encoding URL
I am having a strange issue with the URL encoding and browser. I have this following URL:
...
1
vote
0answers
14 views
Encode euro, yen and pound symbols in ios
I am trying to encode using
-(NSString *)urlEncodeUsingEncoding:(NSStringEncoding)encoding {
return ( NSString *)CFURLCreateStringByAddingPercentEscapes(NULL,
...
0
votes
0answers
13 views
CXF endpoint not being shown when path contains HTML encoded hypen
We have a Java webapp using CXF for REST comms, it's deployed to tomcat6 as a WAR.
I am trying to create a qualified version of the WAR using maven, which introduces a hypen in the path.
When ...
0
votes
1answer
31 views
urlencode to lower case in PHP
In PHP, when url encoding using urlencode(), the outputted characters are in upper case:
echo urlencode('MyString'.chr(31));
//returns 'MyString%1F'
I need to get PHP to give me back 'MyString%1f' ...
0
votes
1answer
31 views
Should I worry that using GET in a form element doesn't automatically URL-encode angle brackets?
So I decided to use GET in my form element, point it to my cshtml page, and found (as expected) that it automatically URL encodes any passed form values.
I then, however, decided to test if it ...