mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-21 17:05:39 +03:00
Merge pull request #8850 from element-hq/fix/jme/8894-ea-intercepts-mas-urls
Replace `*.element.io` deep link with actual hosts
This commit is contained in:
commit
b5758c5335
2 changed files with 8 additions and 1 deletions
1
changelog.d/8894.bugfix
Normal file
1
changelog.d/8894.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
Intercept only links from `element.io` well known hosts. The previous behaviour broke OIDC login in Element X.
|
|
@ -184,7 +184,13 @@
|
|||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
|
||||
<data android:scheme="https" />
|
||||
<data android:host="*.element.io" />
|
||||
<!-- Note: we can't use "*.element.io" here because it'll intercept the "mas.element.io" domain too. -->
|
||||
<!-- Matching asset file: https://app.element.io/.well-known/assetlinks.json -->
|
||||
<data android:host="app.element.io" />
|
||||
<!-- Matching asset file: https://develop.element.io/.well-known/assetlinks.json -->
|
||||
<data android:host="develop.element.io" />
|
||||
<!-- Matching asset file: https://staging.element.io/.well-known/assetlinks.json -->
|
||||
<data android:host="staging.element.io" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
|
|
Loading…
Reference in a new issue