Skip to content

Comments

[FIX] Broken download link on uploaded files#22848

Merged
ostjen merged 7 commits intodevelopfrom
fileUploadFix
Aug 9, 2021
Merged

[FIX] Broken download link on uploaded files#22848
ostjen merged 7 commits intodevelopfrom
fileUploadFix

Conversation

@ostjen
Copy link
Contributor

@ostjen ostjen commented Aug 3, 2021

Proposed changes (including videos or screenshots)

Uploaded files had wrong download links when the deploy had a sub directory. This misbehavior was caused by the wrong usage of the rtrim method, the 2nd parameter is a list of chars, not a string (this method was inspired by php)

Issue(s)

Steps to test or reproduce

Further comments

@ostjen ostjen requested a review from sampaiodiego August 3, 2021 19:38
@ostjen ostjen merged commit 5dc6eaf into develop Aug 9, 2021
@ostjen ostjen deleted the fileUploadFix branch August 9, 2021 11:30
gabriellsh added a commit that referenced this pull request Aug 10, 2021
* 'develop' of github.com:RocketChat/Rocket.Chat:
  [FIX] Manually approve new users is not applied to SAML users (#22823)
  [FIX] applyChatRestictions callback not working for community version (#22839)
  [FIX] Message update not working in some cases (#22856)
  [FIX] Broken download link on uploaded files (#22848)
  [FIX] User is still asked for 2FA confirmation even if 2FA is globally deactivated. (#22801)
  [FIX] Registration not possible with TOTP and email verification (#22778)
  [FIX] users registered via third party apps bypass custom required fields (#22396)
  [FIX] "Click to Join" button is not working if there are no muted users in the room (#22871)
  [BREAK][ENTERPRISE] CSV file downloaded in the Engagement Dashboard's New Users section contains undefined data (#22862)
  Fix Local time conversion in the Users By Time of the Day chart (#22836)
@jpoeppel
Copy link

Thanks a lot for fixing this! Is there any ETA for when this is being included in a release? Neither 3.17.1 nor 3.17.2 include this fix and I was hoping to avoid having to build my own snap that includes the fix 😅 .
Thanks a lot for your great work!

@sampaiodiego
Copy link
Member

@jpoeppel this fix will be released on 3.18 .. we have a release candidate for 3.18 already, we expect to launch the final release on Auth 30th

@sampaiodiego sampaiodiego mentioned this pull request Aug 31, 2021
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