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

The specifed resource name contains invalid characters. #231

Open
lucajung opened this issue Aug 22, 2022 · 2 comments
Open

The specifed resource name contains invalid characters. #231

lucajung opened this issue Aug 22, 2022 · 2 comments
Labels

Comments

@lucajung
Copy link
Contributor

Jenkins and plugins versions report

Error
com.azure.storage.file.share.models.ShareStorageException: Status code 400, "<?xml version="1.0" encoding="utf-8"?><Error><Code>InvalidResourceName</Code><Message>The specifed resource name contains invalid characters.

What Operating System are you using (both controller, and any agents involved in the problem)?

Linux

Reproduction steps

Try to upload Files which contain %20 or whitespaces in the filename.

Expected Results

The files will be uploaded without a error.

Actual Results

Throws the following error:
com.azure.storage.file.share.models.ShareStorageException: Status code 400, "InvalidResourceNameThe specifed resource name contains invalid characters.

Anything else?

As mentioned in this Issue: Azure/azure-sdk-for-java#11204 the file name should be urlEncoded first.

@lucajung lucajung added the bug label Aug 22, 2022
@timja
Copy link
Member

timja commented Aug 22, 2022

are you interested in providing a PR?

@lucajung
Copy link
Contributor Author

@timja Sorry, I am not familiar with Jenkins plugins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants