Open Bug 1795667 Opened 2 years ago Updated 2 years ago

The user cannot log into Facebook/Youtube when the user profile ends in a dot character

Categories

(Toolkit :: Startup and Profile System, defect)

Desktop
Windows
defect

Tracking

()

Tracking Status
firefox-esr102 --- affected
firefox106 --- affected
firefox107 --- affected

People

(Reporter: danibodea, Unassigned)

Details

Note

  • When the user creates a profile with a name that ends in a dot character (.), when launching it he will notice issues like being unable to log into facebook/google. Appears to be a cookie/cache related issue.

Found in

  • Nightly v107.0a1

Affected versions

  • Nightly v107.0a1
  • ESR v102.4.0esr

Tested platforms

  • Affected platforms: Windows 10
  • Unaffected platforms: Ubuntu 22

Steps to reproduce

  1. Launch the Profile Manager
  2. Create a new profile with a name that ends in a dot (.)
  3. Launch the profile
  4. Load Facebook/Youtube and log in.

Expected result

  • The user can log in successfully.

Actual result

  • The page appears to break down and can not be used.

Regression range

  • Not a recent regression since it occurs in ESR102.

Additional notes

  • The user can't log into sync either displaying the error: "Cookies and local storage are required".

This is related to bug 1648490. the normal file APIs that we use to access files on windows (nsIFile) doesn't support file paths that end in a period (.). Ideally we would fix that API to use more modern techniques for accessing files on Windows but a wallpaper would be to refuse to create profiles in such directories.

Given that this has likely been an issue since the dawn of Firefox I don't think this is super-important though.

Severity: S2 → S4
Has STR: --- → yes
You need to log in before you can comment on or make changes to this bug.