+ Start a Discussion
RedSalesRedSales 

What does the "%2F" characters mean when used before an object in a URL?

Hello,

 

I've noted in Salesforce.com url's that querystring parameters often contain the characters %2F  before an object. What is the purpose of these characters & what do they mean?

 

An example is the following "retURL=%2F01QQ1000007E4cm"

Where "01QQ1000007E4cm" is the object id.

 

Thanking you for your help.

Best Answer chosen by Admin (Salesforce Developers) 
Ritesh AswaneyRitesh Aswaney

Its the URL Encoded value of the Forward Slash (/)

 

Special characters need to be encoded in URL's, eg. +, & , etc

 

http://www.blooberry.com/indexdot/html/topics/urlencoding.htm

All Answers

Ritesh AswaneyRitesh Aswaney

Its the URL Encoded value of the Forward Slash (/)

 

Special characters need to be encoded in URL's, eg. +, & , etc

 

http://www.blooberry.com/indexdot/html/topics/urlencoding.htm

This was selected as the best answer
Jeff BloomerJeff Bloomer

Here's another good resource on the topic.  It has a nice, long list for convenience.

 

http://www.w3schools.com/tags/ref_urlencode.asp