Uploaded image for project: 'FreePBX Contributed'
  1. FreePBX Contributed
  2. FC-28

Request-URI Too Long

    XMLWordPrintable

    Details

    • ToDo:

      Description

      When using the OSS provisioner, but I would gather when using the commercial provisioner as well where you have made many fields configurable in ARI, you can hit a limit on the default request max URI length in Apache - 8190 bytes. I found in /var/www/html/recordings/modules/phonesettings.module the line below uses GET which will hit the limit of 8190.

      $ret = "<form class='phonesettings' name='ari_settings' action='' method='GET'>

      To test, I changed GET with POST and found I did not have this problem.

      $ret = "<form class='phonesettings' name='ari_settings' action='' method='POST'>

      I have this problem because I created a remote phonebook entry for Yealink T2x and T4x phones on the OSS provisioner with up to 100 entries. Around entry 70 or so this limit would be hit in the URI length. Changing GET to POST resolves the issue for me, and doesn't seem to cause other problems.

      If using POST in future versions doesn't adversely affect anything else, I suggest changing the default to use POST instead of GET.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                xptpa2020 xptpa2020
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.