Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Make federation endpoints more tolerant of trailing slashes v2#4935

Merged
anoadragon453 merged 2 commits into
developfrom
anoa/trailing_slashes_v2
Mar 26, 2019
Merged

Make federation endpoints more tolerant of trailing slashes v2#4935
anoadragon453 merged 2 commits into
developfrom
anoa/trailing_slashes_v2

Conversation

@anoadragon453
Copy link
Copy Markdown
Member

Retry of #4793 which contained some code that changed the client's trailing slash behavior.

This branch removes that and additionally contains some logging for when we make a retry attempt.

@anoadragon453 anoadragon453 requested a review from a team March 26, 2019 10:35
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 26, 2019

Codecov Report

Merging #4935 into develop will decrease coverage by 0.19%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           develop    #4935     +/-   ##
==========================================
- Coverage    78.05%   77.85%   -0.2%     
==========================================
  Files          328      328             
  Lines        34071    34223    +152     
  Branches      5622     5666     +44     
==========================================
+ Hits         26593    26645     +52     
- Misses        5863     5957     +94     
- Partials      1615     1621      +6

Copy link
Copy Markdown
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

lgtm

@anoadragon453 anoadragon453 merged commit 4a125be into develop Mar 26, 2019
@anoadragon453 anoadragon453 deleted the anoa/trailing_slashes_v2 branch March 26, 2019 11:35
anoadragon453 added a commit that referenced this pull request Mar 26, 2019
* develop: (141 commits)
  Make federation endpoints more tolerant of trailing slashes v2 (#4935)
  Fix ClientReplicationStreamProtocol.__str__ (#4929)
  Fix bug where read-receipts lost their timestamps (#4927)
  Use an explicit dbname for postgres connections in the tests. (#4928)
  Fix nginx example in ACME doc. (#4923)
  Refactor out state delta handling into its own class (#4917)
  Newsfile
  Use yaml safe_load
  Allow newsfragments to end with exclamation marks! (#4912)
  Some more porting to HomeserverTestCase and remove old RESTHelper (#4913)
  Clean up backoff_on_404 and metehod calls
  Update changelog.d/4908.bugfix
  Update Apache Setup To Remove Location Syntax (#4870)
  isort
  Newsfile
  Fix typo and add description
  Deny peeking into rooms that have been blocked
  Rejig testcase to make it more extensible
  Remove debug
  Add tests
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants