[Mediawiki-api] [Wikitech-l] API action=edit problem
Russell Blau
russblau at imapmail.org
Thu Jun 5 18:25:16 UTC 2008
"MinuteElectron" <minuteelectron at googlemail.com> wrote:
> Russell Blau wrote:
>> "MinuteElectron" <minuteelectron at googlemail.com> wrote:
>>
>>
>>> Marco Schuster wrote:
>>>> I suspect it are the +es in the "text" field, AFAIR these should be
>>>> %20,
>>>> right?
>>> Perhaps; " " may be encoded as "+" in URL query strings, and most URL
>>> encoding functions do this. But in post strings maybe "+" is not
>>> acceptable. I will look to see if your suggestion fixes this.
>>
>> On http://www.epstone.net/~andrew/wiki/api.php, the query string with
>> "+"s
>> in it works as expected.
>>
>> Russ
>
> Note the difference between "post" and "query" string -- I never said
> that "+" is not acceptable in query strings (quite the opposite, in
> fact). But I believe that in post strings "+" is not allowed, please
> correct me if I am wrong, of course.
I'm sorry I wasn't sufficiently precise. What I meant was that I submitted
the exact same HTTP request as in my original message, including the "+"
characters in the request _body_, to the www.epstone.net MediaWiki
installation, and got an HTTP 200 response with a JSON text body.
Russ
More information about the Mediawiki-api
mailing list