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

norwestcomputing.com.au - see bug description #135993

Closed
theSundayProgrammer opened this issue Apr 16, 2024 — with webcompat-app · 16 comments
Closed

norwestcomputing.com.au - see bug description #135993

theSundayProgrammer opened this issue Apr 16, 2024 — with webcompat-app · 16 comments
Labels
os-linux Issues only happening on Linux. status-needsinfo
Milestone

Comments

@theSundayProgrammer
Copy link

URL: https://norwestcomputing.com.au/upload.html

Browser / Version: Firefox iOS 124.3
Operating System: Linux Debian bookworm
Tested Another Browser: Yes Chrome

Problem type: Something else
Description: I am the web developer on that site. When I upload a file containing a name with space the server times out reading the form. No issues with Chrome or file names with no spaces
Steps to Reproduce:
I am the web developer on that site. When I upload a file containing a name with space the server times out reading the form. No issues with Chrome or file names with no spaces

Browser Configuration
  • None

From webcompat.com with ❤️

@webcompat-bot webcompat-bot added this to the needstriage milestone Apr 16, 2024
@webcompat-bot webcompat-bot added os-ios Issues only happening on iOS. browser-firefox-ios labels Apr 16, 2024
@softvision-raul-bucata
Copy link

Thanks for the report. The issue states that Firefox for iOS has been used, but the operating system does not match. Can you please update the issue so that it reflects the reality?

[qa_16/2024]

@softvision-raul-bucata
Copy link

@theSundayProgrammer Also, I get a 404 error on all browsers when trying to upload any file type.

[inv_16/2024]

@theSundayProgrammer
Copy link
Author

You will get a 404 error because you have not logged in. Bu even so check the Request tab
Screenshot from 2024-04-18 09-40-45
The above image shows the screen shot when I send a file with no spaces in filename.

Screenshot from 2024-04-18 09-42-35
This one shows the screen when the filename has a space. The request does NOT contain the file

@theSundayProgrammer
Copy link
Author

Chrome browser removes spaces in file name before transmitting

@theSundayProgrammer
Copy link
Author

I am running Firefox124.0.2 (64-bit) on Ubuntu
Apologise for the incorrect info earlier

@softvision-raul-bucata
Copy link

@theSundayProgrammer I do not see any login option on the page. Can you please provide more info regarding this?

[inv_16/2024]

@theSundayProgrammer
Copy link
Author

The point is there is no need to actually upload. You can clearly see from the screenshots that when you submit a file with no spaces in its name, the file is being transmitted but is then rejected at the server end. With a space in the file name the formdata is empty.

Nevertheless I'll create a uid/pwd combination as follows: guest/Firefox124

@theSundayProgrammer
Copy link
Author

use https://norwestcomputing.com.au/login.html to login

@softvision-raul-bucata
Copy link

softvision-raul-bucata commented Apr 18, 2024

@theSundayProgrammer Even on Chrome, with a small size file, I get all kinds of errors, such as:

Screenshot_16

With a smaller file, I still get a 404 error, so without a valid account, testing is impossible. Please provide a sign-up method or a test account so that we can continue testing.

[inv_16/2024]

@theSundayProgrammer
Copy link
Author

Please check the Request data. It is empty. Here is how to debug web pages: Press Ctrl+Shift+K. Then click on the console tab. Then click on 'Submit' in the web page. You will see >XHR...
Expand it by clicking the right arrow. Then click on the Request tab. You will see that formdata is being sent when the filename has no spaces and no formdata is sent otherwise.
Please give it a try. If you still don't get anywhere I'll close the bug

@softvision-raul-bucata
Copy link

@theSundayProgrammer As long as I get 404 on all browsers, I will not be able to see any relevant data in the console. Without a test account, we can not test this issue. Please provide a test account.

[inv_16/2024]

@theSundayProgrammer theSundayProgrammer closed this as not planned Won't fix, can't repro, duplicate, stale Apr 19, 2024
@theSundayProgrammer
Copy link
Author

Unfortunately you don't seem to understand what I am saying. I am sure it will be raised again by somebody else

@softvision-raul-bucata softvision-raul-bucata added os-linux Issues only happening on Linux. and removed os-ios Issues only happening on iOS. browser-firefox-ios labels Apr 22, 2024
@softvision-raul-bucata
Copy link

@theSundayProgrammer I understood what you are referring to, but since a 404 message is returned on all browsers, it is hard to say why is it failing for you, since it works for me:

Screenshot_3

Testing the issue with a 200 or 201 code will have much better results in attempting to reproduce your issue.

What I would do usually to test this kind of issue, is:

  1. Type about:profiles in the url bar.
  2. Choose Create a new profile.
  3. Call it deleteme or anything you please.
  4. Then start it. (this way you will be sure that nothing is interfering, no ghost caching etc.)- make sure account sync is not performed, as the extensions will be imported in the new profile.
  5. Test.

Note: You can return to your old profile at any given time by accessing "about:profiles" in the address bar

[inv_17/2024]

@theSundayProgrammer
Copy link
Author

Thanks for your assistance regarding profiles.
Apologise for the false alarm. Turns out it is a file permission issue. It has nothing to do with space characters.
If the file is owned by root then even when read/write access is enabled no file is sent.

image

When the filename is owned by root, the file is not uploaded whether it has a space or not as shown in my response. If it is owned by the user the file is transmitted, even if it is rejected at the server end.

@theSundayProgrammer
Copy link
Author

I guess I'll close this issue and raise another

@theSundayProgrammer
Copy link
Author

False alarm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os-linux Issues only happening on Linux. status-needsinfo
Projects
None yet
Development

No branches or pull requests

3 participants