Skip to content

Very long URLS are being added and are not being redirected while linking #34755

Closed

Description

@anisshhbatrra

Try to add URL like this and then do the linking process , there is no redirection for these type of URLS -->

https://test.pay.bcregistry.gov.bc.ca/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaasefwerwerwer

Not sure , if this type of long URLS are allowed to be added ??

NOTE--- Please limit the length to max 250 Characters for now .

Screenshot 2026-08-30 at 10.13.04 AM.png

Screenshot 2026-08-30 at 11.50.33 AM.png

Activity

  1. added
    Pay
    on Aug 30, 2026
  2. added
    bug
    on Aug 30, 2026
  3. self-assigned this
    on Sep 2, 2026
  4. anisshhbatrra commented on Sep 2, 2026

    @anisshhbatrra
    CollaboratorAuthor

    As discussed , please limit the length of accepted URL to max 250 characters . Thanks !!

  5. anisshhbatrra commented on Sep 3, 2026

    @anisshhbatrra
    CollaboratorAuthor

    Tested in Test .URL over 250 characters are being truncated to 250 only

    URL Validation — Test Results

    | # | Category | URL Tested | Expected | Result |

    | 1 | 249 characters | Valid URL with 249 chars | Accepted | ✅ Accepted |
    | 2 | 250 characters (limit) | Valid URL with 250 chars | Accepted | ✅ Accepted |
    | 3 | 251+ characters | Cannot be entered | Blocked | ✅ maxlength=250 enforced |

    All 12 test cases passed ✅ — URL validation fix working correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Paybug

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions