Im using a business rule and http.get to query a database (sql server). In some cases the query value passed in the http.get has an ampersand. This is probably interpreted as a name value pair separator, and truncates the string used for the actual query. If I use encodeURIComponent the ampersand is encoded, but the encoded value is used for the query, which of course does not match any values. Is there a method or best practice to allow the use of unsafe or reserved characters for query values?
Please sign in to leave a comment.