List Info

Thread: Posts from api/v1/posts/all are truncated due to not being escaped.




Posts from api/v1/posts/all are truncated due to not being escaped.
country flaguser name
United States
2007-09-02 15:24:47

I have a post whose notes contain some text followed by a caption in
quotes (e.g., my text, "my caption").

When I GET this post using api/posts/get?url=<my_url>; the quotes are
HTML escaped. The note becomes: my text, "my caption"

When I GET this post using api/posts/all (either filtered by this
posts unique tag or within the whole bunch of posts), my note is
truncated to: my text. I.e. the "my caption" but is removed. I
assume that this is caused by some incorrect escaping before the
content is served.

I wonder if you could take a look, or just tell me I'm doing something
stoopid.

Cheers,

Chris

__._,_.___
.

__,_._,___
Re: Posts from api/v1/posts/all are truncated due to not being escaped.
country flaguser name
United States
2007-09-07 02:42:02

So, having not received a reply, I thought I'd try again. It seems to
have been fixed! Purely out of interest, was there an actual problem
that's been fixed or was I doing something daft?

Chris

--- In ydn-delicious%40yahoogroups.com">ydn-deliciousyahoogroups.com, "chrisjroos"; <chris...> wrote:
&gt;
> I have a post whose notes contain some text followed by a caption in
> quotes (e.g., my text, "my caption&quot;).
>;
> When I GET this post using api/posts/get?url=&lt;my_url>; the quotes are
> HTML escaped. The note becomes: my text, &quot;my caption&amp;quot;
&gt;
> When I GET this post using api/posts/all (either filtered by this
>; posts unique tag or within the whole bunch of posts), my note is
> truncated to: my text. I.e. the "my caption&quot; but is removed. I
> assume that this is caused by some incorrect escaping before the
> content is served.
>
> I wonder if you could take a look, or just tell me I'm doing something
> stoopid.
>
> Cheers,
>
> Chris
&gt;

__._,_.___
Recent Activity
Visit Your Group
Y! Messenger

Group get-together

Host a free online

conference on IM.

Need traffic?

Drive customers

With search ads

on Yahoo!

Yahoo! Groups

Join a yoga group

and take the stress

out of your life.

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )