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

fix: proofkeys validation with proxy #10462

Merged
merged 1 commit into from
Nov 5, 2024
Merged

fix: proofkeys validation with proxy #10462

merged 1 commit into from
Nov 5, 2024

Conversation

micbar
Copy link
Contributor

@micbar micbar commented Nov 4, 2024

Description

Bugfix: Respect proxy url when validating proofkeys

We fixed a bug where the proxied wopi URL was not used when validating proofkeys. This caused the validation to fail when the proxy was used.

Related Issue

Motivation and Context

How Has This Been Tested?

  • Tested with the WOPI online validator of microsoft365

1730750542945

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

@micbar micbar requested review from jvillafanez and butonic November 4, 2024 20:03
@micbar micbar force-pushed the fix-proofkeys-o365 branch 2 times, most recently from a033dc4 to f9510e0 Compare November 4, 2024 21:16
@micbar
Copy link
Contributor Author

micbar commented Nov 4, 2024

Unfortunately the ProofKeys TestSuite is not functional.

While digging into the upstream repo, i found this microsoft/wopi-validator-core#22 (comment) which means the upstream status of the WOPI Validator is unclear.

@ScharfViktor that means we need an E2E test with Collabora and proofkeys enabled.

Copy link

sonarqubecloud bot commented Nov 4, 2024

@DeepDiver1975
Copy link
Member

Maybe I am not recalling it properly, but aren't we running our wopi validator from a fork?

@DeepDiver1975
Copy link
Member

@micbar micbar merged commit b24c2df into master Nov 5, 2024
4 checks passed
@micbar micbar deleted the fix-proofkeys-o365 branch November 5, 2024 08:19
ownclouders pushed a commit that referenced this pull request Nov 5, 2024
fix: proofkeys validation with proxy
@wkloucek wkloucek mentioned this pull request Nov 5, 2024
3 tasks
This was referenced Dec 17, 2024
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