Link Macro does not work for links with spaces

XMLWordPrintable

    • Minor

      Issue Summary

      Link Macro does not work for links with spaces

      Steps to Reproduce

      1. Create a Confluence page with spaces in the title (e.g., "new one page")
      1. On another page, insert a Link macro (via /link or the toolbar)
      1. Paste the full URL of the page created in step 1 — the URL will contain literal spaces in the page title segment, e.g.:
        https://example.atlassian.net/wiki/spaces/<spaceKey>/pages/343812867/new one page
      1. Observe the error: "Enter a valid URL"

      Expected Results

      The link macro should either:

      • Auto-encode spaces as %20 and accept the URL, OR
      • Accept the URL as-is.

      Actual Results

      The link macro rejects the URL with "Enter a valid URL" error.

      Workaround

      Encode spaces as %20, which should allow to insert the URL.

              Assignee:
              Unassigned
              Reporter:
              Avinash Bisht
              Votes:
              6 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: