Skip to content

URL Part Matching Fails when Part Changes #373

@pelford-cbs

Description

@pelford-cbs

When matching a URL based on a part that is not in the host address, the extension fails to remove the banner when the host stays the same and the matching part no longer exists.

Steps to reproduce the behavior:

  1. Go to Power Platform Admin Centre
  2. Add a regex rule to match an environment GUID (e.g. 'regex:.12ab34cd-abcd-1234-abcd-12ab34cd56ef.' from the address 'https://admin.powerplatform.microsoft.com/manage/environments/environment/12ab34cd-abcd-1234-abcd-12ab34cd56ef')
  3. Click on Environments
  4. Click on the related environment
  5. Note the banner appears as it matches the GUID in the URL
  6. Go back to all 'Environments'
  7. Note that the banner stays even though the GUID is no longer in the URL

Expected behavior:
The banner should disappear as soon as the URL part is no longer in the URL.

Information:

  • OS: Win 11
  • Browser: Edge
  • Browser Version: 143.0.3650.139 (Official build) (64-bit)
  • Extension Version: v3.0.1

Additional context:
An example of an extension that handles these URL part changes correctly is URLColors.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

Status

To Do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions