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

Context root doesn't include a random string #24984

Merged

Conversation

OndroMih
Copy link
Contributor

@OndroMih OndroMih commented Jun 8, 2024

For apps deployed via Admin Console, the uploaded file was copied to a temp file, which contained a random string. Now, the temp directory has a random string, but the file in it has the same name.
Context root is generated from the file name and doesn't include any random string with this commit.

Before, when an app was deployed with default values:
image

Now:
image

For apps deployed via Admin Console, the uploaded file was copied to a temp file, 
which contained a random string. Now, the temp directory has a random string, 
but the file in it has the same name.
Context root is generated from the file name and doesn't include 
a random string with this commit.
Signed-off-by:Ondro Mihalyi <mihalyi@omnifish.ee>
@hs536 hs536 added the enhancement New feature or request label Jun 10, 2024
@dmatej dmatej added this to the 7.0.16 milestone Jun 10, 2024
- also remove after file is uploaded
- improve file handling for uploaded files
- give an error in GUI if IOException
Signed-off-by:Ondro Mihalyi <mihalyi@omnifish.ee>
@arjantijms arjantijms merged commit 75a7d3a into eclipse-ee4j:master Jun 12, 2024
2 checks passed
OndroMih added a commit to OndroMih/glassfish that referenced this pull request Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants