Skip to content

Conversation

tomasz1986
Copy link
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 twilczynski@naver.com

…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 <twilczynski@naver.com>
@tomasz1986
Copy link
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
21 checks passed
@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
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.

3 participants