This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
comment out code that removes trailing slash as per 5823. #11224
Closed
src-r-r
wants to merge
15
commits into
matrix-org:develop
from
src-r-r:jordan_2021WW43_5823_well-known-path-has-errant-trailing-slash
Closed
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
6148061
comment out code that removes trailing slash as per 3808.
src-r-r 76469e7
add 5823 to changelog.
src-r-r de870ed
Change bug PR to news fragments.
src-r-r 1d1c6b7
fix unit test to match issue.
src-r-r be1fa1e
fix last remaining slash cases.
src-r-r 9443680
Merge branch 'develop' of github.com:src-r-r/synapse into jordan_2021…
src-r-r b4e29f0
Merge branch 'jordan_2021WW43_5823_well-known-path-has-errant-trailin…
src-r-r e0fa9e1
merge from develop and fix merges.
src-r-r 86902da
Merge branch 'develop' of github.com:src-r-r/synapse into jordan_2021…
src-r-r 68fa11b
fix path slash issue.
src-r-r 6ce40ce
remove whitespace. complete testing.
src-r-r 20887b8
add sample_config
src-r-r e071ef2
add linter.
src-r-r 02790c3
pass codestyle check.
src-r-r 2d5db3c
fix linter issues.
src-r-r File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix path slash issue.
- Loading branch information
commit 68fa11bcc6cf3dc3659b91786da80cad40ae4c7b
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,13 +29,15 @@ def create_test_resource(self): | |
{ | ||
"public_baseurl": "https://tesths", | ||
"default_identity_server": "https://testis", | ||
"serve_server_wellknown": True, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We are testing the client wellknown here---this doesn't look right. |
||
} | ||
) | ||
def test_client_well_known(self): | ||
channel = self.make_request( | ||
"GET", "/.well-known/matrix/client", shorthand=False | ||
) | ||
|
||
# import ipdb; ipdb.set_trace() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this needs removing. |
||
self.assertEqual(channel.code, 200) | ||
self.assertEqual( | ||
channel.json_body, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As below, isn't the public_baseurl never going to end in a "/" and so I think line +358 will never run?