Possible bug in HttpPostItem?

rated by 0 users
This post has 3 Replies | 3 Followers

Top 200 Contributor
Posts 129
Points 5,510
MVPs
Thomas Freudenberg [^o)] [^o)] Posted: Tue, Aug 15 2006 5:07 PM

I think there's a bug in HttpPostItem.ToString(). (\Components\Components\CSRequest.cs): if the value is not encoded yet, it calls Globals.UrlDecode. I'm convinced it should be Globals.UrlEncode.

 Maybe this issue wasn't encountered before because HttpPostItem is never used Wink

Regards, Thomas

Thomas Freudenberg

Top 10 Contributor
Posts 3,424
Points 65,530
CS Developers
Ben Tiedt replied on Tue, Aug 15 2006 11:43 PM
This issue is logged as #4157.  The work-around is to pre-encode the item and set IsEncoded to true.

Ben Tiedt's Blog

  • | Post Points: 20
Top 200 Contributor
Posts 129
Points 5,510
MVPs

Ben Tiedt:
The work-around is to pre-encode the item and set IsEncoded to true.

That's what I'm already doing Wink 

Regards, Thomas

Thomas Freudenberg

  • | Post Points: 20
Top 25 Contributor
Posts 948
Points 14,515
CS Developers

Thanks for finding and reporting this.

The fix has been checked-in.

 

Thank you,

 

 

Wyatt Preul
Wyatt - The Geek Cowboy

  • | Post Points: 5
Page 1 of 1 (4 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com