CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Encoded URL

  1. #1
    Join Date
    Jan 2011
    Posts
    1

    Encoded URL

    My server gave me the error 406, because they had a mod_security on the Apache server. It was because I tried sending this string

    Code:
    http://www.oddim.com/functions.php?CALL=NEWS_FEED&TYPE=1&STATUS=rawrtest%rawrtest
    which I of course encoded to (using encodeURIcomponent)

    Code:
    http://www.oddim.com/functions.php?CALL=NEWS_FEED&TYPE=1&STATUS=rawrtest%25rawrtest
    I got the mod_security disabled but I wanted to know If I'm programming in a non-secure way that it triggered that mod.

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: Encoded URL

    Check out penders reply here.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured