Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
passing parameters with special characters in URL
Arif shah
<p>Hi,</p>
<p> </p>
<p>I have a parameter that has a string value of "B&E" and other similar string values. When I pass the parameter in URL, it breaks because of the special character "&"</p>
<p> </p>
<p>Can someone please tell me how do we pass such paramters in url?</p>
<p> </p>
<p>Arif</p>
Find more posts tagged with
Comments
GLO_FR
<p>Hi Arif,</p>
<p> </p>
<p>The & is a special character.</p>
<p>You have to encode it with <strong><span style="color:rgb(64,64,64);font-family:verdana, helvetica, arial, sans-serif;font-size:13px;">%26</span></strong></p>
<p> </p>
<p>So instead of </p>
<pre class="_prettyXprint">
http://localhost:8080/birt/frameset?__report=****.rptdesign¶m=B&E</pre>
<p><span style="font-size:14px;">use</span></p>
<pre class="_prettyXprint">
http://localhost:8080/birt/frameset?__report=****.rptdesign¶m=B%26E</pre>
<p><span style="color:rgb(64,64,64);font-family:verdana, helvetica, arial, sans-serif;font-size:13px;">Take a look <a data-ipb='nomediaparse' href='
http://www.w3schools.com/tags/ref_urlencode.asp'>here</a> if
you need some other special characters</span></p>