login about faq

Hi, When trying sending request with comma (,) to Twitter API, I have an error. Comma isn't encoded in the PostUrlEncoded Please fix it for Activex componment Regards.

asked Aug 26 '13 at 16:18

onlytech's gravatar image

onlytech
16112


Hi, I'm experiencing the same problem, even with QuickGetStr For PostUrlEncoded i resolved it replacing all commas in status by ";" or " "

To avoid errors returning by the API about commas in api Urls, i resolved it for example for users/lookup (passing user ids) by replacing each commas in the url by "&user_id=" and it works.

Hope this helps ;)

++ Seb

link

answered Oct 13 '13 at 12:28

SebH's gravatar image

SebH
1

The default URL encoding used by Chilkat HTTP (i.e. in PostUrlEncoded) is according to RFC 3986, which is the URL encoding specified in the OAuth 1.0 RFC 5849. An older version of Chilkat would have used an older specification for URL encoding. RFC 3986 specifies that the comma character is part of the "sub-delims" that should not be encoded:

sub-delims    = "!" / "$" / "&" / "'" / "(" / ")"
                 / "*" / "+" / "," / ";" / "="
I believe the OAuth 2.0 specification does not change the URL encoding rules. I don't know why there would be trouble with the comma character, but unfortunately Chilkat HTTP cannot be changed to not conform to RFC 3986. If there is a problem where Chilkat is not conforming to RFC 3986, then that would be a problem that needs to be addressed.

link

answered Oct 14 '13 at 11:52

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×186
×9
×2

Asked: Aug 26 '13 at 16:18

Seen: 1,468 times

Last updated: Oct 14 '13 at 11:52

powered by OSQA