3,453 questions
1
vote
0
answers
117
views
Invoke-WebRequest URL encoding
I want to retrieve content from web page. However, I tried above method but the error still come when the query string contain Chinese character.
code
$json = Get-Content -Encoding utf8 -Path "./...
0
votes
0
answers
51
views
Why does JAX-RS UriBuilder not double encode
Consider this method:
import javax.ws.rs.core.UriBuilder;
import java.net.URI;
public class AnyParamRedirecter {
/**
* Generate a URI to target.com with one query parameter "...
0
votes
0
answers
92
views
Normalize URLs which might be encoded or not
I have an app where users enter WebDav URLs. In some cases, these URLs are properly encoded, but in some cases they are not.
String[] testUrls = {
// Plain, unencoded
...
0
votes
1
answer
279
views
Google Calendar cid=<ICS URL> shows âUnable to add calendar. Check the URL.â â but the same ICS works via âFrom URLâ
Iâm trying to give users a one-click Add to Google Calendar link using the documente pattern:
https://calendar.google.com/calendar/r?cid=\<URL-ENCODED_ICS_URL>
However, Google consistently ...
2
votes
1
answer
147
views
How to URL Encoding in swift
I want to encode url with percent encoding.
If the value of query parameter is url type, how can I encode?
let urlString = "https://www.google.com/path1?param1=https://www.apple.com/path2?param2=...
0
votes
2
answers
93
views
Percent encode HTML form [closed]
I have a html form - method="get" is obligatory in my case :
<form action="https://websiteurl.com/searchresult" method="get" id="bookingform">
<input ...
2
votes
1
answer
124
views
Keep the '+' in URL in python
I have an input which is a decoded URL and can contain incorrectly escaped '+' symbols, such as 'http://example.com/path/tofile?query=param+with+questionmark', where '+' symbols should be converted to ...
0
votes
1
answer
42
views
Google Search Console export not giving the same URL
I'm going through a list of URLs that google have tried to index that gives 503. We have fixed a number of these, and I wanted to go through the list to test which are still left.
However, I ...
0
votes
1
answer
412
views
PayFast signature (python): generated signature does not match submitted signature
I am trying to submit a PayFast payment using the API tools, in python rather than php (the docs recommended approach).
I am generating a signature like so:
import hashlib
import urllib.parse
def ...
1
vote
0
answers
93
views
Can a data URL safely encode binary using a character set beyond base64 without requiring percent-encoding?
The context is for a data URI (now known as data URL) to be dropped into an Apple API. It is not for a data URI that would be consumed by a browser.
I am interested in using base91 or base85 to get ...
0
votes
1
answer
148
views
WSO2 APIM Returns 404 if Special Characters in the URL
We have a web application calling APIs via WSO2 APIM. We have an API that GETs an object by ID. So the URL is something like https://api.example.com/my-api/v1/foo/{id}. This works fine if the ID ...
2
votes
0
answers
87
views
Should or shouldn't I urlencode umlauts in links?
I want the URL to my German about-me page to be über-mich (German for "about me"):
http://www.my-website.de/über-mich
This works fine if the filename contains an umlaut:
index.php
robots....
2
votes
0
answers
103
views
Java Construct URI given full string
I am trying to create a java.net.URI (for use with spring RestTemplate) but I'm given a FULL url and I need to correctly encode things.
Every example I see online, including using the Spring ...
0
votes
2
answers
53
views
Android Retrofit Post Data Type to Server States Data Is Null
I am trying to pass a data model to a server in Android using Retrofit to register user account. When I send the data type of UserData to the server via POST, I get an issue. HTTP 500 stating the ...
0
votes
1
answer
94
views
space in url giving file not found error in browser
Physical folder having space: /about us/contactus.php
when we enter in browser https://www.example.com/about us/contactus.php
It will auto convert URL to https://www.example.com/about%20us/contactus....