Skip to content

fix(opener): doesn't open same origin links - #3018

Merged
Legend-Master merged 1 commit into
tauri-apps:v2from
Legend-Master:opener-same-origin-link
Oct 4, 2025
Merged

fix(opener): doesn't open same origin links#3018
Legend-Master merged 1 commit into
tauri-apps:v2from
Legend-Master:opener-same-origin-link

Conversation

@Legend-Master

Copy link
Copy Markdown
Contributor

Fix #2990

So we're only opening links if they're supposed to be opened in new tabs/windows, no need to check for same origin here

@Legend-Master
Legend-Master requested a review from a team as a code owner September 29, 2025 02:38
@github-actions

Copy link
Copy Markdown
Contributor

Package Changes Through 453ef38

There are 6 changes which include geolocation with patch, geolocation-js with patch, opener with patch, opener-js with patch, updater with minor, updater-js with minor

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
api-example 2.0.36 2.0.37
api-example-js 2.0.32 2.0.33
geolocation 2.3.0 2.3.1
geolocation-js 2.3.0 2.3.1
opener 2.5.0 2.5.1
opener-js 2.5.0 2.5.1
updater 2.9.0 2.10.0
updater-js 2.9.0 2.10.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@FabianLars FabianLars left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

(untested)

@Legend-Master

Copy link
Copy Markdown
Contributor Author

(untested)

Have tested myself this time 🙃

Guess I'm not waiting for amr then, feel free to chime in though 🙃

@Legend-Master
Legend-Master merged commit 67a7bf8 into tauri-apps:v2 Oct 4, 2025
19 checks passed
@Legend-Master
Legend-Master deleted the opener-same-origin-link branch October 4, 2025 13:16
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.

[opener] Links to urls with explicit port number do not open if window content is served from that same port

2 participants