Questions tagged [urlencode]

To “URL encode” or “percent encode” text means to encode it for use in a URL. Some characters are not valid when used as-is in URLs, and so much be URL-encoded (percent-encoded) when appearing in URLs.

Filter by
Sorted by
Tagged with
0 votes
1 answer
19 views

Nginx mapping Japanese URL to encoded file/folder names

I have file names written in encoded format. For example, this URL /2012年日本の旅/ is saved as: /2012%e5%b9%b4%e6%97%a5%e6%9c%ac%e3%81%ae%e6%97%85/index.html on Nginx server. But Nginx does not serve the ...
doraemon's user avatar
  • 327
1 vote
1 answer
52 views

C# URL encoding (net481)

I try to build a search query for a movie website, and me being a European we have a bit of weird characters. This is my starting code: private static string GetSearchUrl(string name) { var ...
Dee J. Doena's user avatar
  • 1,647
0 votes
0 answers
22 views

How to determine if an nvarchar (or string) value is URLEncoded?

How could I safely determine whether or not to URLDecode an nvarchar value? My specific case is that I have an nvarchar(max) field in a SQL Table containing 'message' text. Some entries appear to be ...
Jonno's user avatar
  • 436
1 vote
0 answers
27 views

Javascript, URL encoded multiple times

For a ReactJs application I'm using this code: let service = new URL(`/${accessRoute}`, this.authOriginService); service.searchParams.set('origin', origin); service.searchParams.set('id', id); const ...
Safari's user avatar
  • 11.5k
0 votes
1 answer
39 views

Is there a way to prevent url decoding on firebase hosting?

I'm using Firebase hosting to connect my domain with a cloud-run service. The configuration is really simple: { "hosting": { "rewrites": [{ "source": &...
MK.'s user avatar
  • 1
-1 votes
0 answers
20 views

Cyrillic URLs are unreadable in Google Analytics 4 because they are displayed as percent-encoding (URL encoding)

I've recently upgraded to Google Analytics 4 and I'm facing an issue where the Cyrillic URLs from my website are displayed as percent-encoded strings, making them unreadable. In the previous version ...
Bocho Todorov's user avatar
0 votes
0 answers
21 views

IIS 10 + MediaWiki: Wrong encoding for short URLs

I am running MediaWiki on Windows Server 2016 (language set to Korean) in a local network. I have followed the MediaWiki manual for enabling short URLs, and the result was below: A. 대문¹ becomes ´ë¹® ...
Henry Kwon's user avatar
3 votes
1 answer
61 views

Check for the existence of a file: URL that uses URLEncoding in Tcl 8.5.9

What is the simplest way to check for the existence of a file specified by a file: URL that uses URLEncoding in Tcl 8.5.9? ::http::geturl says it doesn't support file URLs. file exists requires ...
XDR's user avatar
  • 4,120
0 votes
0 answers
16 views

Making the redirect URL in my code with qrytype parameter from HTML extracted from GMAIL Body using GMAIL API

Guys I am trying to extract link from gmail body from the link tag but there is also an extra querytype parameter. And the link I am extracting is showing invalid. I researched online and to my ...
Vaibhav Joshi's user avatar
-2 votes
1 answer
49 views

How do I encode only id in the URL in PHP? [closed]

<a class='btn btn-success' href='../posts/postview.php?id=".urlencode($row['category_id'])."'role='button'>See Posts</a></td> here is my button url but this urlencode ...
Muhammad Muneeb ur Rehman's user avatar
-1 votes
1 answer
33 views

bash urlencoded variable only echoes once [duplicate]

This is a simplified version of a script that runs with one parameter #!/bin/bash K1=eval /usr/bin/urlencode "$1" echo "$K1" # prints the correct url encoded $1 parameter echo &...
Daniel Franco's user avatar
0 votes
2 answers
38 views

Encoding special characters whilst setting parameters on the URL

I need to set a number of URL parameters, which also need to include a special character $ Currently I am using .set() to create and set these parameter values: const myUrl = new URL("http://www....
user1486133's user avatar
  • 1,309
-3 votes
1 answer
49 views

Get a shorter encoded characters of an encrypted link using Java [duplicate]

I need to get a shorter characters using my encrypted link. This is is the encoded characters Im currently getting using my code: data=xvXTyQe6cthuC0GdQcOvCR5PKSlFiMqLBt7tM0zbxHs%3D. I want to achieve ...
Sham's user avatar
  • 1
0 votes
0 answers
34 views

API Gateway SNS integration failing

everyone! I'm having an issue with an SNS integration on an API Gateway that I've created. I have a third party sending webhooks to my API Gateway. I want to pass the body of this request to an SNS ...
Luke Welden's user avatar
0 votes
0 answers
31 views

Modules' names contain unicode characters. How to have them not encoded in suggestion?

Is there a way to tell VS Code to not apply URL encoding for module names? All the files are saved in UTF-8 so I guess there should be no worry of using Unicode characters in file names and variables. ...
Ooker's user avatar
  • 2,067
0 votes
1 answer
127 views

Angular 15 adding &quot in background-url

I have the following code to add an image as a background, but when rendered in the browser, the urls have the addition of the &quot, would anyone know why? Template <picture class="...
Sabrina B.'s user avatar
1 vote
1 answer
49 views

URLencoded shows as broken internal link

I have a Flask web-application with lots of products. Some of the product names have a "/" in them. For the URL of the products with a slash in them, I am using URLencoding to solve this ...
sfhasfasf's user avatar
0 votes
0 answers
56 views

Why url encoding does not work in TypeScript / fetch?

In Swift, this API call returns an invoiceId return client.post("https://www.szamlazz.hu/szamla/", headers: HTTPHeaders([("Content-Type", "application/json")]), ...
János's user avatar
  • 33.1k
0 votes
0 answers
11 views

Pandas read_html with umlauts in the URL [duplicate]

Is there an easy way to use umlauts in an URL? import pandas as pd #tables = pd.read_html('https://de.wikipedia.org/wiki/Liste_der_größten_Stadien_der_Welt') tables = pd.read_html('https://de....
Red-Cloud's user avatar
  • 438
0 votes
1 answer
120 views

How to specify OpenID Redirect URI in Spring Boot

I shall inform the redirect URI for an application using OpenId. My application.yml reads: spring: security: oauth2: client: registration: xxxx: client-id: ...
Franco G's user avatar
  • 375
1 vote
1 answer
108 views

How to % encode comma , in query params with Boost.URL

Intro In my program I have a Google Places API client and to build URL I use Boost.URL library: #include <iostream> #include <boost/url/src.hpp> #include <boost/url/encode.hpp> #...
CAMOBAP's user avatar
  • 5,523
0 votes
0 answers
65 views

How can send string with commas to NocoDB API?

I can’t get commas to work in a where condition. The categories should be: Freedom of information and expression Data quality, sharing and security I’m sending this to the API: (Country,isnot,null)~...
DiMi's user avatar
  • 1
0 votes
1 answer
63 views

Urlencode a multiline string in VIM, so it can be used to query a search engine

In Vim, it would be cool to search for the currently highlighted text in a search engine of your choice. Especially with all the AI search engines that are appearing on the scene. This kinda works, ...
no_gravity's user avatar
0 votes
2 answers
72 views

How to make an image with %2F in the url appear when shared, after including it in html meta og:image tag?

I have an image stored in Firebase Storage. I used the link for my website's meta og:image tag, but it doesn't appear on the preview for WhatsApp or Facebook. It seems like the %2F characters are ...
Edward Cahyadi's user avatar
0 votes
0 answers
46 views

Encoding Issue with RestTemplate Request Parameters

I am currently using RestTemplate to make requests to the Twitter Web API. Here is the code (partial omission): String url = "https://twitter.com/i/api/graphql/WzJjibAcDa-oCjCcLOotcg/UserTweets&...
何子洋's user avatar
0 votes
0 answers
35 views

Add field filters to spotify query

I am trying to use the Spotify API to search for a track. In the documentation it states you can narrow your search using field filters (such as album, artist, track). I don't know how to insert these ...
mm3psych0sis's user avatar
0 votes
0 answers
518 views

C# Base64 Encode and Decode

Lessons Learned: If you want to pass VALUES to a Controller, and those values have special characters Use the Built in Url.Action Function, instead of trying to manually Base64 the information. When ...
FlyingV's user avatar
  • 2,217
1 vote
1 answer
35 views

Mod Rewrite URL Containing Encoded URL

I have a website with a few external links. They all use target="_blank" to open in a new tab/window. I want to log clicks on these links, by using an internal link which logs the click, ...
ian's user avatar
  • 13
0 votes
0 answers
58 views

How can I fix a broken PDF link when I click it?

I am working on some feature improvements in SAP's e-transformation applications. E-Invoices from some of our customers have links. When I want to view it via SAP, it directs me to the link, but when ...
shrgrl's user avatar
  • 87
0 votes
1 answer
97 views

Set Authorization Header with UTF-8 in Java [closed]

I am trying to perform the OAuth 1.0a authentication flow using Java. OAuth 1.0a requires "All parameter names and values [to be] escaped using the RFC3985 percent-encoding mechanism... Text ...
HLR's user avatar
  • 69
1 vote
1 answer
69 views

Trouble decoding string after using uri_escape_utf8

In Perl I am encrypting a string and then using uri_escape_utf8 so I can send it in a URL. I then receive what appears to be the exact same encoded string back to Perl but can't figure out to decode ...
Jon Schlossberg's user avatar
0 votes
1 answer
88 views

How to correctly urlencode a string in Swift to be decoded uses PHP urldecode?

I would like to send some URL encoded data from a Swift app to a PHP API where the data is decoded again. While this works fine most of the time, I know became aware that PHP urldecode handles the + ...
Andrei Herford's user avatar
0 votes
1 answer
21 views

How to remove unreadable characters from aws policy document?

When I get the GetRolePolicyResponse.PolicyDocument. Its unreadable character. how to convert this to readable characters. var inlinePolicyDetails = iamClient.GetRolePolicyAsync(new ...
Shankar S's user avatar
  • 385
0 votes
0 answers
17 views

why the java sever could not parse encodeURIComponent parameter

I define a object type in typescript client like this: export interface IChatAsk { prompt: string, cid: number } then I composite the object to query parameter like this: var queryString = ...
Dolphin's user avatar
  • 29.6k
2 votes
0 answers
47 views

Why does flask redirect parse character & to HTML entity &amp; for external URLs?

I want to redirect users to an external URL with parameters in a flask application that I've set up, I use urlencode like so: parameters = {'foo': 'bar', 'baz': 'qux'} link = 'https://some.domain.com?%...
gbrl's user avatar
  • 191
1 vote
0 answers
122 views

api call with curl -u with token works on Mac and fails on linux

Team, badly stuck on production for this case, i am unable to make curl call on linux and same works on macbook. I tried both ways of url construction and both work on mac but not on linux. any hint? ...
AhmFM's user avatar
  • 1,560
0 votes
0 answers
90 views

ms-word command decoded the WebDAV URL before sending to server

We implemented our own WebDAV server as C# HTTP handler running on IIS. We are using below URL to open the document in Word via WebDAV server. ms-word:ofe%7Cu%7Chttp%3A%2F%2FMyWebDavServer%...
Rajesh S's user avatar
0 votes
0 answers
65 views

MS word decoding the encoded url before sending to the server

I have a web application that tries to open the word document in MS-WORD. This works as expected for most word versions, but some have issues. It is showing Cannot download the information you ...
Rajeesh Madambat's user avatar
0 votes
1 answer
65 views

How to encode characters in url with Alamofire on iOS

I'm using Alamofire as network manager in my iOS App. I need to do a GET request and send a value like this DQIOE/LE/G77qpYbiMQPIuND2qrZjhS4f6kMDSr1+Zjxrq31QjdZZPNtbNjdmBBO3bHCJD8J+...
Fry's user avatar
  • 6,235
0 votes
1 answer
506 views

How to pass double quoted parameter to Python requests.get()

An API I'm using requires one of the parameters to be passed in in double quotes like so: https://example.com/api?country="US". It seems no matter how I try to pass this in, I get a 500 ...
Eric Hasegawa's user avatar
0 votes
0 answers
76 views

ASP.NET MVC is url decoding action parameters

I have the following url that has a return url that is url encoded. The url also has another url that is url encoded. When I put this url in the browser, the controller action url decodes it ...
Mike Flynn's user avatar
  • 21.8k
0 votes
1 answer
92 views

node.js What is the correct way to parse/join URLs?

If I have a URL like this: > u = 'http://examples.com/hello world/test' 'http://examples.com/hello world/test' and parse it into components using built-in URL object in node.js, it gets ...
xaxa's user avatar
  • 1,057
0 votes
0 answers
46 views

Why does using request parameter with special character in database query fail to find results, but same string as fixed value work fine?

I'm having an issue with API endpoints where if a database query is sent that contains special characters, like 'ä', the MongoDB doesn't find any data. @router.get("") def get_something_data(...
NMITIMEN's user avatar
0 votes
2 answers
786 views

UriBuilder encoding issue with queryParam

var responseEntity = webClient .get() .uri( uriBuilder -> uriBuilder .path("myendpoint&...
Kartik Arora's user avatar
0 votes
0 answers
53 views

Not able to parse curly brackets , colon , and comma in AXIOS post request

While sending a post request we are not able to parse curly brackets({), Colon(:) and Comma(,) while sending a AXIOS POST request. How request should look like: http://localhost:9005/mydata/save-data?...
Himanshu Singh's user avatar
0 votes
0 answers
364 views

Encrypt URL parameters between two ASP.NET Core 6 MVC apps using ASP.NET Core Data Protection

I'm trying to find the best way of encrypting some parameters of a URL from webapp1 which redirects to webapp2, and I've come across ASP.NET Core Data Protection, which seemed pretty easy to use on ...
sTx's user avatar
  • 1,221
0 votes
0 answers
46 views

Email href querystring params shuffled when "delivered" to clients

We are having a weird querystring params shuffling problem and we dont have any clue about a possible solution. Having the url https://foobartracking.com/route/path?p1=638cc40ea7bb55fe4f6a79d6&p2=...
Pierre-Luc S.'s user avatar
0 votes
0 answers
83 views

Angular HttpParams URL encodes a parameter twice

I have an Angular project and I have added Bootstrap to the project as well using: ng add @ng-bootstrap/ng-bootstrap Version details: @angular-devkit/architect 0.1501.5 @angular-devkit/build-...
user6952691's user avatar
0 votes
0 answers
89 views

Stencil.js: Unexpected URL behaviour - URL auto reloads to lowercase after a few milliseconds

I cannot understand why when my stencil.js app loads, it runs the componentWillLoad() lifecycle method twice, and just before the second one forces the url to lowercase. This is a problem as the url ...
Che Coelho's user avatar
1 vote
0 answers
34 views

GNU Mailutils: How to encode a '*' in a password

I am trying to access a remote mailbox using mailutils message command. The password contains a '*' character. No matter whether I use this character straight or percent encoded I always get an ...
Dingoloni's user avatar

1
2 3 4 5
47