← Back to team overview

ubuntu-apps-bugs team mailing list archive

[Bug 1226085] Re: webbrowser-app should use app-specific paths when using --webapp

 

This bug was fixed in the package webbrowser-app -
0.22+13.10.20130919.3-0ubuntu1

---------------
webbrowser-app (0.22+13.10.20130919.3-0ubuntu1) saucy; urgency=low

  [ Alexandre Abreu ]
  * Add a 'maximized' command line parameter mostly to enhance the
    control for webapps launch.

  [ Olivier Tilloy ]
  * Use the value of APP_ID to set the application name. This ensures
    that webapps (which run with a unique app ID) will write their data
    where they ought to, and that they won’t have access to other apps’
    cache and cookies. (LP: #1226085)
  * Add a unity action to clear the navigation history.
  * Override the UA string for facebook.com to ensure we’re getting
    touch-enabled content. Without this override, we were getting
    unstyled mobile content from the 90s. Impersonating an iphone or
    android would offer to install the respective applications when
    logging in. The 'Firefox' token gets us the right content (and
    pretending to be AppleWebKit seems to be necessary too, otherwise
    the layout is busted). (LP: #1215002)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 318
 -- Ubuntu daily release <ps-jenkins@xxxxxxxxxxxxxxxxxxx>   Thu, 19 Sep 2013 15:52:17 +0000

** Changed in: webbrowser-app (Ubuntu Saucy)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Apps bug tracking, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1226085

Title:
  webbrowser-app should use app-specific paths when using --webapp

Status in “apparmor-easyprof-ubuntu” package in Ubuntu:
  Triaged
Status in “webbrowser-app” package in Ubuntu:
  Fix Released
Status in “apparmor-easyprof-ubuntu” source package in Saucy:
  Triaged
Status in “webbrowser-app” source package in Saucy:
  Fix Released

Bug description:
  The webbrowser-app stores its cache, cookies and various other files
  in ~/.cache/webbrowser-app and ~/.local/share/webbrowser-app.

  This results in AppArmor rules like the following:
    owner @{HOME}/.cache/webbrowser-app/     rw,
    owner @{HOME}/.cache/webbrowser-app/**   rwk,
    owner @{HOME}/.local/share/webbrowser-app/   rw,
    owner @{HOME}/.local/share/webbrowser-app/** rwk,

  But these rules are too lenient and these paths need to be made webapp
  specific so that arbitrary webapps don't have access to global
  cookies, cache, etc. Specifically webbrowser-app should be adjusted to
  use $XDG_DATA_HOME/<app_pkgname> for webapps, where '<app_pkgname>' is
  the "name" field in the Click manifest (see bug #1197037 for details).

  Note, APP_ID is set in the environment for click packages and the app_pkgname can be derived from the APP_ID by doing:
  app_pkgname = appid.split('_')[0]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor-easyprof-ubuntu/+bug/1226085/+subscriptions