sensible-browser cannot process $BROWSER variable when it contains a whitespace character

Bug #1807440 reported by FA
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
sensible-utils (Debian)
Fix Released
Unknown
sensible-utils (Ubuntu)
Triaged
Low
Unassigned

Bug Description

If path to a browser defined via the $BROWSER environment variable contains a whitespace character, running sensible-browser should launch browser defined by $BROWSER.

If path to a browser defined via the $BROWSER environment variable contains a whitespace character, running sensible-browser will not parse the whitespace characters and therefore not load the browser defined by $BROWSER.

Bug can be fixed by updating line 8 in /usr/bin/sensible-browser:
${BROWSER} "$@" > "${BROWSER}" "$@"

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: sensible-utils 0.0.12
ProcVersionSignature: Ubuntu 4.15.0-42.45-generic 4.15.18
Uname: Linux 4.15.0-42-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Dec 7 11:05:17 2018
Dependencies:

InstallationDate: Installed on 2018-12-06 (1 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: sensible-utils
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
FA (cbdoc) wrote :
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in sensible-utils (Ubuntu):
status: New → Confirmed
Revision history for this message
Brian Murray (brian-murray) wrote :

The sensible-utils package which provides the sensible-browser script is in sync with the version of the package in Debian. Would you mind forwarding this bug to Debian? Thanks in advance.

tags: added: eoan
Changed in sensible-utils (Ubuntu):
importance: Undecided → Low
status: Confirmed → Triaged
Changed in sensible-utils (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.