Uploaded image for project: 'RAML Module Builder'
  1. RAML Module Builder
  2. RMB-834

Form key is lost when form value is large

    XMLWordPrintable

Details

    • CP: sprint 113
    • 2
    • Core: Platform

    Description

      While debugging mod-login-saml, noticed that RMB won't pass the form data key properly when the form data value is large. It can be easily reproduced by updating DemoRamlRestTest the test form value "form1value" to something larger. For example a SAML response like below. You will notice the test will fail and the expected form key "form1name" won't show up in the response.

      PHNhbWxwOlJlc3BvbnNlIHhtbG5zOnNhbWxwPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6%0D%0AcHJvdG9jb2wiIElEPSJzMmZhNDc1NTcxOWE0YzU5MzE5NGVkNjczYjk1MDk4ZWE1ZDg1ZWQ4MjAi%0D%0AIEluUmVzcG9uc2VUbz0iXzIzMDk0NmJkYjNjYTQ1YjhhYTBmYWFjOGE2YzJhNDEyNGFhM2U3ZCIg%0D%0AVmVyc2lvbj0iMi4wIiBJc3N1ZUluc3RhbnQ9IjIwMjEtMDUtMDRUMDA6NDI6MjdaIiBEZXN0aW5h%0D%0AdGlvbj0iaHR0cHM6Ly9oamktYnVnZmVzdC5mb2xpby5lYnNjby5jb20vXy9pbnZva2UvdGVuYW50%0D%0AL2ZzMDkwMDAwMDAvc2FtbC9jYWxsYmFjaz9jbGllbnRfbmFtZT1mczA5MDAwMDAwIj48c2FtbDpJ%0D%0Ac3N1ZXIgeG1sbnM6c2FtbD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOmFzc2VydGlvbiI%2B%0D%0AaHR0cHM6Ly9pZHAuc3NvY2lyY2xlLmNvbTwvc2FtbDpJc3N1ZXI%2BPHNhbWxwOlN0YXR1cyB4bWxu%0D%0AczpzYW1scD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOnByb3RvY29sIj4KPHNhbWxwOlN0%0D%0AYXR1c0NvZGUgeG1sbnM6c2FtbHA9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDpwcm90b2Nv%0D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W50Pjwvc2FtbDpBc3NlcnRpb24%2BPC9zYW1scDpSZXNwb25zZT4%3D
      

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                adam Adam Dickmeiss
                hji Hongwei Ji
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases