Firefox default startup homepage set to data:text/plain

How to reproduce:

  1. Install Fedora Linux Desktop
  2. Update system using Software App
  3. Start up Firefox
  4. data:text/plain,browser.startup.homepage=https://start.fedoraproject.org/ is set as startup website, and browser shows browser.startup.homepage=https://start.fedoraproject.org/ as a text on starting firefox up.

Firefox version: 152.0 (aarch64) fedora - 1.0
Operating System: Fedora Linux 44 (Workstation Edition) - Gnome 50 Wayland
Hardware: Parallels ARM Virtual Machine (M4 Max Macbook Pro)

Before updating system, it was just https://start.fedoraproject.org/ without any problem but after full system update on Software app, it became data:text/plain,browser.startup.homepage=https://start.fedoraproject.org/, so I am not sure if it is because fedora system itself update or firefox (for fedora) update.

I have the same, it makes you wonder how this trash passed bodhi testing.

Did the maintainers even test it themselves?

Hi,
Same issue here with Fedora 43, Firefox 152.
So brobably not a fedora update problem but firefox in fedora (since I did not update to fedora 44 yet unlike OP) ?


System Details Report


Software Information:

  • OS Name: Fedora Linux 43 (Workstation Edition)
  • OS Type: 64-bit
  • GNOME Version: 49
  • Windowing System: Wayland
  • Kernel Version: Linux 7.0.12-101.fc43.x86_64

@siliconsjang
Provide a screenshot of the Firefox homepage

Did you open an new tab or pasted the url?

Solution:

If you want https://start.fedoraproject.org to open every time Firefox is launched then set the attribute of browser.startup.homepage to:
image
If you want the Firefox New tab page to open every time Firefox starts up then set it to:
image

Hi,
The screenshot sent by @leigh123linux showed what happen at firefox startup, without opening a newtab; so solution 1 works… But why that value was changed to data.text/plain ..., the mystery remains.

Anyway, thanks for your reply/solution! :slight_smile:

Did you open an new tab or pasted the url?

Just a new homepage of the firefox is that plain text.

Solution:
If you want https://start.fedoraproject.org to open every time Firefox is launched then set the attribute of browser.startup.homepage to:
That is not a bugfix or solution itself; that is user-side hotfix. Still, we need to know why that value was changed to data.text/plain ..., and fedora project itself (by the code) should fix that issue and push the update.

If you asking me if “about:home” is a plain text URL? No, it is not.

Fedora bug: 2490879 – Firefox 152.0 renders homepage config as string literal
Upstream bug: 2047962 - `browser.startup.homepage` with `data:text/plain,browser.startup.homepage=…")` incompatible since 152.0

The solution I commented is also referenced in the links specified above.