Skip to content

Write and read blobs was not working using SpringBoot.#813

Merged
iroqueta merged 7 commits into
masterfrom
BlobsSpringBoot
Dec 26, 2023
Merged

Write and read blobs was not working using SpringBoot.#813
iroqueta merged 7 commits into
masterfrom
BlobsSpringBoot

Conversation

@iroqueta

Copy link
Copy Markdown
Collaborator

Issue: 106122

@genexusbot

Copy link
Copy Markdown
Collaborator
Cherry pick to beta success

Comment thread java/src/main/java/com/genexus/db/driver/GXPreparedStatement.java Fixed
@genexusbot

Copy link
Copy Markdown
Collaborator
Cherry pick to beta success

tomas-sexenian
tomas-sexenian previously approved these changes Dec 18, 2023
@genexusbot

Copy link
Copy Markdown
Collaborator
Cherry pick to beta success

@genexusbot

Copy link
Copy Markdown
Collaborator
Cherry pick to beta success

@tomas-sexenian tomas-sexenian self-requested a review December 20, 2023 13:55
tomas-sexenian
tomas-sexenian previously approved these changes Dec 20, 2023
@genexusbot

Copy link
Copy Markdown
Collaborator
Cherry pick to beta success

@genexusbot

Copy link
Copy Markdown
Collaborator
Cherry pick to beta success

if (ApplicationContext.getInstance().isSpringBootApp() && ! new File(fileName).isAbsolute())
{
if (fileName.startsWith(webContext.getContextPath()))
fileName = fileName.replaceFirst(webContext.getContextPath(), "").substring(1);

Check failure

Code scanning / CodeQL

Regular expression injection

This regular expression is constructed from a [user-provided value](1).
@iroqueta iroqueta merged commit db11024 into master Dec 26, 2023
@iroqueta iroqueta deleted the BlobsSpringBoot branch December 26, 2023 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants