Skip to content

Fix opening partitions from redap origins with port 443 or 80 #9511

New issue

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

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

Already on GitHub? # to your account

Merged
merged 4 commits into from
Apr 7, 2025

Conversation

lucasmerlin
Copy link
Contributor

What

This fixes opeing recordings from redap.rerun.io

Copy link

github-actions bot commented Apr 7, 2025

Web viewer built successfully. If applicable, you should also test it:

  • I have tested the web viewer
Result Commit Link Manifest
7ae3bf4 https://rerun.io/viewer/pr/9511 +nightly +main

Note: This comment is updated whenever you push a commit.

@lucasmerlin lucasmerlin added 🪳 bug Something isn't working exclude from changelog PRs with this won't show up in CHANGELOG.md labels Apr 7, 2025
@emilk emilk self-requested a review April 7, 2025 08:12
// If we parse a Url from e.g. `https://redap.rerun.io:443`, `port` in the Url struct will
// be `None`. So we need to use `port_or_known_default` to get the port back.
// See also: https://github.com/servo/rust-url/issues/957
if http_url.port_or_known_default().is_none() {
Copy link
Member

Choose a reason for hiding this comment

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

Well this is very annoying. This means the default port logic doesn't work.

We talked this through in a huddle, and decided we'll leave it as a TODO until servo/rust-url#957 is fixed

@lucasmerlin lucasmerlin merged commit 238d52e into main Apr 7, 2025
36 checks passed
@lucasmerlin lucasmerlin deleted the lucas/fix-redap-443-port branch April 7, 2025 09:00
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
🪳 bug Something isn't working exclude from changelog PRs with this won't show up in CHANGELOG.md
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants