Skip to content

Added DownloadInIterceptor import to the classes#1

Merged
yingbull merged 1 commit into
openo-beta:develop/alpacafrom
kateyang1998:building-compile-error-fix
Oct 31, 2024
Merged

Added DownloadInIterceptor import to the classes#1
yingbull merged 1 commit into
openo-beta:develop/alpacafrom
kateyang1998:building-compile-error-fix

Conversation

@kateyang1998

Copy link
Copy Markdown
  • oscarehr/integration/mcedt/DelegateFactory.java
  • oscarehr/integration/mchcv/OnlineHCValidator.java

- oscarehr/integration/mcedt/DelegateFactory.java
- oscarehr/integration/mchcv/OnlineHCValidator.java
@sourcery-ai

sourcery-ai Bot commented Oct 31, 2024

Copy link
Copy Markdown

🧙 Sourcery has finished reviewing your pull request!


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey @kateyang1998 - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@sebastian-j-ibanez sebastian-j-ibanez left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can confirm that these changes fix the compilation errors.

@yingbull yingbull merged commit 520dfe9 into openo-beta:develop/alpaca Oct 31, 2024
This was referenced Nov 19, 2024
@sourcery-ai sourcery-ai Bot mentioned this pull request Nov 28, 2024
sebastian-j-ibanez pushed a commit that referenced this pull request Dec 3, 2024
This was referenced Dec 4, 2024
Jdarji2130 pushed a commit to Jdarji2130/Open-O-jay that referenced this pull request Mar 23, 2025
Jdarji2130 pushed a commit to Jdarji2130/Open-O-jay that referenced this pull request Mar 23, 2025
…-indexes

Add indexes to the measurements table
@sourcery-ai sourcery-ai Bot mentioned this pull request Aug 17, 2025
LiamStanziani added a commit that referenced this pull request May 26, 2026
… encoding

Addresses PR #225 review comment #1 (warrendennis): the previous PR removed
Encode.forHtml(msg) at output because msg embedded intentional
<span style='color:red'>NOT</span> markup. Concatenating raw request
parameters (privilege, roleUserGroup, objectName from line 234) into an
unencoded HTML body is XSS-prone — privilege in particular is built by
scanning request parameter *names*, so an attacker URL like
'?privilege<img src=x onerror=alert(1)>=foo' would land directly in msg.

Replace the inline span markup with a CSS class on the alert wrapper
(alert-danger / alert-info) driven by a msgIsError flag. Drop the
redundant encodedRoleUserGroup / encodedObjectName helpers (they were a
workaround for the missing output encoding) and restore Encode.forHtml(msg)
at the display site. LogAction audit calls now use raw values consistently
across all three flows — logs aren't HTML and shouldn't carry entities.
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