Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [CO-788] add ability to parse extended filename from uploads #335

Merged
merged 8 commits into from
Oct 12, 2023

Conversation

keshavbhatt
Copy link
Member

@keshavbhatt keshavbhatt commented Sep 25, 2023

What has changed:

  • handleMultipartUpload support RFC-6266 compliant filename extraction from content-disposition header
  • refactor handleMultipartUpload targeting redability and maintinability
  • unit tests

- follow RFC-6266 for parsing extended filename from Content-disposition header while handling multipart uploads requests.
- unit tests to verify the expected parsing of filename from content-disposition header
- cover both plain and multipart upload requests
@keshavbhatt keshavbhatt marked this pull request as ready for review September 25, 2023 12:35
@keshavbhatt keshavbhatt requested a review from a team as a code owner September 25, 2023 12:35
@keshavbhatt keshavbhatt requested review from flanciotti, frisonisland, aheeva-yuliya and a user and removed request for a team September 25, 2023 12:35
Comment on lines +470 to +471
getClass().getResource("\u0421\u043e\u0431\u044b\u0442\u0438\u044f.txt"))
.toURI()); // События.txt
Copy link
Contributor

Choose a reason for hiding this comment

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

I think passing События works (it does for me at least)

Copy link
Member Author

Choose a reason for hiding this comment

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

strange, It was not working for me.

@keshavbhatt keshavbhatt merged commit 4b8b114 into devel Oct 12, 2023
@keshavbhatt keshavbhatt deleted the CO-788 branch October 12, 2023 08:46
matteobaglini added a commit that referenced this pull request Oct 16, 2023
…-12-soap-protocol-wrong-content-type

* devel:
  chore: deprecate zimbraFeatureMailEnabled attribute (#352)
  feat: follow RFC-6266 to parse extended filename from uploads (#335)
matteobaglini added a commit that referenced this pull request Oct 18, 2023
* devel: (71 commits)
  fix: [CO-861] mailbox wsdl generator uses soap 12 soap protocol wrong content type (#356)
  chore: deprecate zimbraFeatureMailEnabled attribute (#352)
  feat: follow RFC-6266 to parse extended filename from uploads (#335)
  chore: 23.11.0 devel + minor build changes (#339)
  fix:  CO-823 FreeBusy missing uid parameter in CalDav request (#343)
  test: [CO-822] add test for notification when schedule-agent=client (#350)
  feat: add ubuntu 22.04 (jammy jellyfish) support (#347)
  fix: log category does not exist (#346)
  chore: modify slogger configuration (#341)
  chore: bump 4.9.1 (#345)
  revert: "feat: zimlet code cleanup (#310)" (#344)
  feat: deprecate CSRF-related LDAP-attributes ref: CO-818
  chore: remove -SNAPSHOT (#337)
  chore: 23.10.0 + 4.9.0
  chore: bump 4.8.3 (#333)
  fix: delete CalDav appointment (#332)
  chore: IN-620: use syft and dependency-track platform for SBOM (#325)
  feat: add 127.0.0.1 to MailTrustedIP to prevent loss of OIP (#328)
  chore: wrong bump (#331)
  chore: bump rc 4.8.2 (#330)
  ...
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