A potentially dangerous Request.Path value was detected from the client

rss

Posted by eedoh - May 7 ’14 at 04:00

Hi.

I get this message (from the forum post title) when I click on a button with the following onClick handler method

fd.field('Distribute').value('B');
fd.sourceFormParam(window.location.href);
fd.save().click();

Weird thing is that the same handler works perfectly on it's "sister" form that this is copy/pasted from. Any suggestions?

Thanks.

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 8 years 2 months 8 days
    #11 by Dmitry Kozlov May 21 ’14 at 08:54

    [#10]: OK, thanks a lot. We will research the issue more deeply.

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 8 years 2 months 8 days
    #12 by Dmitry Kozlov May 22 ’14 at 02:40

    [#11]: Please, try to use the following code:

     
    fd.field('Distribute').value('B');
    fd.sourceFormParam(decodeURIComponent(window.location.href));
    fd.save().click();
    
  • eedoh
    Member
    Member for: 7 years 9 months 28 days
    #13 by eedoh May 22 ’14 at 06:09

    [#12]: That worked. Thank you.

Displaying 11 to 13 of 13 messages