Skip to content

Conversation

@hf
Copy link
Contributor

@hf hf commented Nov 5, 2025

Oops. In in-app URLs like com.app:// hostname is empty, but the regex expects at least one char.

@hf hf requested a review from a team as a code owner November 5, 2025 16:01
@cstockton
Copy link
Contributor

Should we only allow this for custom schemes? e.g. not http || https ? as those schemes require a hostname.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 19108380390

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 68.355%

Totals Coverage Status
Change from base Build 19097235750: 0.0%
Covered Lines: 13997
Relevant Lines: 20477

💛 - Coveralls

@hf hf merged commit f5a4cba into master Nov 5, 2025
5 of 6 checks passed
@hf hf deleted the hf/fix-redirect-empty-hostname branch November 5, 2025 16:59
hf pushed a commit that referenced this pull request Nov 5, 2025
🤖 I have created a release *beep* *boop*
---


##
[2.182.0](v2.181.0...v2.182.0)
(2025-11-05)


### Features

* **oauthserver:** add authorization list and revoke endpoints
([#2232](#2232))
([cc640b2](cc640b2))


### Bug Fixes

* hostname can be empty with redirect urls
([#2241](#2241))
([f5a4cba](f5a4cba))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

4 participants