Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-78658

Confluence hangs when creating a domain allowlist entry that contains a trailing slash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 7.12.1, 7.17.1
    • None

      Issue Summary

      This is reproducible on Data Center: Yes

      Confluence appears to freeze in the browser, and does not properly execute allowlist changes when attempting to add a domain entry with a trailing /. This bug persists regardless of https/http, or incoming connection settings.

      Steps to Reproduce

      Attempt to create a domain allowlist entry with any valid fully qualified domain name (FQDN), beginning with http:// or https://, and ending with a trailing / character.

      The allow incoming connections and allow anonymous users options do not affect the outcome. This bug has been replicated in Confluence 7.17.1.

      Expected Results

      One of the following:

      1. If a trailing slash is detected, the slash is removed from the input.
      2. The input is rejected, the input field exits the loading state, and a toast is triggered with an error message.
      3. The input is accepted.

      In Confluence 7.17.1, updating an existing domain entry allows a trailing slash without encountering the issue.

      Actual Results

      The input field enters the loading state, and never completes. A network request is never sent, and no errors are produced in the client side console.

      The attached video shows an example of the behaviour, I am refreshing the page manually to clear the loading state.

      Confluence Allowlist Bug Example.mov

      Workaround

      Remove trailing / characters prior to creating a domain allowlist entries.

              Unassigned Unassigned
              439988298593 Atlas Foulks
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: