Skip to content

Reduce backend data leakage on frontend#211

Merged
alexluckett merged 4 commits intomainfrom
file-upload-reduce-leakage
Oct 3, 2025
Merged

Reduce backend data leakage on frontend#211
alexluckett merged 4 commits intomainfrom
file-upload-reduce-leakage

Conversation

@alexluckett
Copy link
Copy Markdown
Contributor

Proposed change

Reduces some of the data sent to the frontend for security purposes.

At the same time I noticed that the file upload JS only worked if you had registered forms-engine-plugin with a prefix, so this PR includes a fix for that too.

Jira ticket:

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Misc. (documentation, build updates, etc)

Checklist

  • You have executed this code locally and it performs as expected.
  • You have added tests to verify your code works.
  • You have added code comments and JSDoc, where appropriate.
  • There is no commented-out code.
  • You have added developer docs in README.md and docs/* (where appropriate, e.g. new features).
  • The tests are passing (npm run test).
  • The linting checks are passing (npm run lint).
  • The code has been formatted (npm run format).

@alexluckett alexluckett changed the title Reduce backend leage on frontend Reduce backend data leakage on frontend Oct 2, 2025
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Oct 3, 2025

@alexluckett alexluckett merged commit 472db74 into main Oct 3, 2025
10 checks passed
@alexluckett alexluckett deleted the file-upload-reduce-leakage branch October 3, 2025 15:04
@alexluckett
Copy link
Copy Markdown
Contributor Author

Merging this so main is fixed, I have an alternative solution to follow I'll put as a draft PR

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.

2 participants