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

[BUG] File with new line in name makes yoda portal crash #496

Open
1 task done
fj-morales opened this issue Nov 12, 2024 · 0 comments
Open
1 task done

[BUG] File with new line in name makes yoda portal crash #496

fj-morales opened this issue Nov 12, 2024 · 0 comments
Labels

Comments

@fj-morales
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

A file can be created with a name containing a newline. This file can be uploaded to yoda via icommands, and shown in the yoda web portal. The issue is when attempting to download the file, the portal crashes with Internal Server Error

Expected Behavior

It should be possible to download the file

Steps To Reproduce

  1. From the command line (e.g. in linux), create a file with a newline in the name:
touch "my file with
new line"
  1. Upload file to a yoda collection with privileges
iput "my file with
new line"
  1. Open the yoda portal, search for the file and attempt to download it

Environment

- Yoda: v1.9.0
- Ansible: 2.1.3
- Operating System: CentOS7
- Browser: Google Chrome

Anything else?

No response

@fj-morales fj-morales added the bug label Nov 12, 2024
@UtrechtUniversity UtrechtUniversity deleted a comment Nov 12, 2024
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

1 participant