Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

9i AS Portal: '%' in querysting/url gets changed to '%25', why?

Status
Not open for further replies.

itbnorris

MIS
May 12, 2003
45
US
I have this HTTP procedure that is called by a file item when a user clicks the link.


The last value... "p_arg_values=R102-SHT1R8.DWG" is a property of the item (its unique name). The rest of the querystring is hardcoded. For some reason, when portal creates this link next to the item, the parameter "p_arg_values=%3D" changes to "p_arg_values=%253D" despite it being hardcoded (this parameter is a condition for the form... I'm trying to get the record where dwg_name = R102-SHT1R8.DWG.) By looking at the string from an example, I determined that %3D somehow means equal to.

My string works perfectly when pasted into the address bar.

Anyone know what's going wrong here?


This link is meant to link a user from an item to a form displaying a table of data relating to that item.
 
Ok figured it out.

The %3D is the encoded = sign. When oracle was putting together my querystring, it took the hardcoded % sign to be a asci(?) 25. Thus producing 253D. Oddly enough, the solution was to replace the hardcoded %3D with a freakin' = sign. I guess oracle encoded it itself.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top