python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
EncodeURI in javascript (velo) returns unexpected value
I've been trying to get value from encodeURI in id. This code in javascript is in velo (wix) plataform coding.
Every trying the id get encode in the first characters but not complete and unexpected.
L...
Raphael Moral Piazera
Votes: 0
Answers: 1
how to send query parameter which is a list which has strings (a string has comma)
request
{
params: {
devices: ['iPad12,1', 'LH-12', 'LX-12']
}
}
to send a devices query parameter with array, I reduced array to a string with comma. ('iPad12,1,LH-12,LX-12')
in this situati...
Jun
Votes: 0
Answers: 0
JavaScript `URL`: when to encode when setting `pathname`?
When setting the pathname of a URL, when should you encode the value you are setting it to?
When I say URL I mean this API: https://developer.mozilla.org/en-US/docs/Web/API/URL
When I say "settin...
rolledback
Votes: 0
Answers: 1
Should we enclose filename with encodeURIComponent in Javascript?
I'm accepting files to be uploaded to my site. So, is it a safe practice to encodeURIComponent the filename? Or should I use escape()? OR is it necessary at all?
wipor20530
Votes: 0
Answers: 2