[Owasp-o2-platform] string problem

Dinis Cruz dinis at ddplus.net
Thu Dec 16 18:59:57 EST 2010


Hi Thiago

Can you try using \{ instead of {

That error happens then you don't have a well formed string format. Usually
it is

"this is a {0}".format("value");

Dinis

On Thu, Dec 16, 2010 at 2:57 PM, Thiago Stuckert <
thiago.melo.stuckert at gmail.com> wrote:

> I'm trying to solve CSRF Token By-Pass lesson from WebGoat using WebGoat
> API then I create two functions, attached in the file CSRF_Token_By_Pass.cs.
> I used both in the file WebGoat_BlackBox_Exploits.cs.
>
> But I don't know what it is happen that if I uncomment de "{" or
> "}"character, give this error:
> ERROR: error applying string format
>
>
> On Thu, Dec 16, 2010 at 11:41 AM, Dinis <dinis at ddplus.net> wrote:
>
>> In what context?
>>
>> Dinis Cruz
>>
>>
>> On 16 Dec 2010, at 12:58, Thiago Stuckert <thiago.melo.stuckert at gmail.com>
>> wrote:
>>
>>  How I can put a character '{' into a string on O2 ?
>>>
>>> --
>>> Thiago
>>> _______________________________________________
>>> Owasp-o2-platform mailing list
>>> Owasp-o2-platform at lists.owasp.org
>>> https://lists.owasp.org/mailman/listinfo/owasp-o2-platform
>>>
>>
>
>
> --
> Thiago
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.owasp.org/pipermail/owasp-o2-platform/attachments/20101216/5487943f/attachment.html 


More information about the Owasp-o2-platform mailing list