Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Append https:// in front of RP ID when excluding devices #2755

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

lmuntaner
Copy link
Collaborator

@lmuntaner lmuntaner commented Dec 18, 2024

Motivation

There was a bug in the code for dynamic RP IDs becuase the cancelled RP IDs were only hostnames, not origins. Therefore, they couldn't be converted to URL to be compared with the origins of the devices.

Changes

  • Append https:// in front of the RP ID when present.

Tests

  • Change tests to have as input hostnames only without the schema.

🟡 Some screens were changed

@lmuntaner lmuntaner changed the title Lm fix convert rp id to url Append https:// in front of RP ID when excluding devices Dec 18, 2024
@lmuntaner lmuntaner requested a review from sea-snake December 18, 2024 13:13
@lmuntaner
Copy link
Collaborator Author

@LXIF @sea-snake please review

@lmuntaner lmuntaner marked this pull request as ready for review December 18, 2024 13:13
@lmuntaner lmuntaner requested a review from LXIF December 19, 2024 08:41
Copy link
Contributor

@LXIF LXIF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lmuntaner lmuntaner added this pull request to the merge queue Dec 19, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 19, 2024
@lmuntaner lmuntaner added this pull request to the merge queue Dec 19, 2024
Merged via the queue into main with commit a867c7f Dec 19, 2024
68 checks passed
@lmuntaner lmuntaner deleted the lm-fix-convert-rp-id-to-url branch December 19, 2024 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants