Skip to content

gui: Actually filter scope ID out of IPv6 address when using Remote GUI (ref #8084) - #9688

Merged
acolomb merged 1 commit into
syncthing:mainfrom
tomasz1986:tomasz86/prs/gui/actually-filter-scope-id-out-of-IPv6-adresses-when-using-remote-gui
Sep 8, 2024
Merged

acolomb merged 1 commit into
syncthing:mainfrom
tomasz1986:tomasz86/prs/gui/actually-filter-scope-id-out-of-IPv6-adresses-when-using-remote-gui

Conversation

@tomasz1986

Copy link
Copy Markdown
Member

gui: Actually filter scope ID out of IPv6 address when using Remote GUI (ref #8084)

The current code does not work, because it uses a string in the
replace() method instead of regex. Thus, change it to a proper regex.

Signed-off-by: Tomasz Wilczyński [email protected]

…UI (ref syncthing#8084)

The current code does not work, because it uses a string in the
replace() method instead of regex. Thus, change it to a proper regex.

Signed-off-by: Tomasz Wilczyński <[email protected]>
@tomasz1986

Copy link
Copy Markdown
Member Author

Not sure how this slipped in, but it shows how much I myself use this functionality… Encountered the problem today, after 2 years, and was wondering why the IPv6 address had a scope ID in it even though it was supposed to be filtered out.

Also, a side note, but Mozilla declined to implement scope ID addresses in https://bugzilla.mozilla.org/show_bug.cgi?id=700999#c111, so they don't work in any modern browser right now, i.e. they are useless if the scope ID isn't filtered out.

@acolomb
acolomb merged commit 1baefea into syncthing:main Sep 8, 2024
@tomasz1986
tomasz1986 deleted the tomasz86/prs/gui/actually-filter-scope-id-out-of-IPv6-adresses-when-using-remote-gui branch September 8, 2024 10:45
calmh added a commit to calmh/syncthing that referenced this pull request Sep 11, 2024
* main:
  gui, man, authors: Update docs, translations, and contributors
  gui: Actually filter scope ID out of IPv6 address when using Remote GUI (ref syncthing#8084) (syncthing#9688)
  Revert "lib/fs: Put the caseFS as the outermost layer (syncthing#9648)"
  lib/api: Correct ordering of Accept-Language codes by weight (fixes syncthing#9670) (syncthing#9671)
  gui, man, authors: Update docs, translations, and contributors
  gui: Fix incorrect UI language auto detection (fixes syncthing#9668) (syncthing#9669)
  lib/model, lib/protocol: Index sending/receiving debugging (syncthing#9657)
  lib/upgrade: Send OS version header to upgrade server (syncthing#9663)
  lib/upgrade: Send OS version header to upgrade server (syncthing#9663)
  gui, man, authors: Update docs, translations, and contributors
@calmh calmh added this to the v1.27.13 milestone Sep 11, 2024
@st-review st-review added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Jul 1, 2026
@syncthing syncthing locked and limited conversation to collaborators Jul 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants