Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

use ampersand in query string

They need to be percent-encoded:

> encodeURIComponent('&')
"%26"
So in your case, the URL would look like:

http://www.mysite.com?candy_name=M%26M
Comment

PREVIOUS NEXT
Code Example
Shell :: ansible copy ad hoc 
Shell :: view branches not merged with master 
Shell :: install foxit pdf reader on ubuntu 20.04 
Shell :: git add everything except 
Shell :: checkout a pr locally 
Shell :: pmset cancel scheduled 
Shell :: switch user in ubuntu lxde 
Shell :: tasksel 
Shell :: how to calculate duration of time in shell script 
Shell :: how to open a iso file in linux 
Shell :: macos homebrew unattended cask installs 
Shell :: add ssh key to windows openssh client 
Shell :: Install DatadogRum 
Shell :: (linux/arm) does not match the detected host platform (linux/amd64) 
Shell :: sublime text 4 
Shell :: bash remove directory recursively locally and git 
Shell :: relocating shards stuck elasticsearch 
Shell :: download pgadmin 4 ubuntu 
Shell :: check program installed c# 
Shell :: make directory in linux 
Shell :: mac bash_profile file not being sourced 
Shell :: generate pkcs12 certificate using keytool 
Shell :: bash make folders according to a list 
Shell :: how to clone ubuntu 
Shell :: create a new repository on the command line on GitHub 
Shell :: git unstage a file 
Shell :: npm audit undu 
Shell :: get all changes on commit name 
Shell :: git go back to head after checkout commit 
Shell :: ssh key exchange 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =