~morphis/media-hub/fix-hybris-dep

« back to all changes in this revision

Viewing changes to src/core/media/apparmor/ubuntu.cpp

  • Committer: Justin McPherson
  • Date: 2015-08-26 01:13:12 UTC
  • mfrom: (150.1.1 1487925)
  • Revision ID: justin.mcpherson@canonical.com-20150826011312-xft4baeq2zpi5px8
Add https to allowed URI schemes for contained applications.

Show diffs side-by-side

added added

removed removed

Lines of Context:
177
177
    {
178
178
        return Result{true, "Client can access content in /usr/share/sounds"};
179
179
    }
180
 
    else if (parsed_uri.scheme == "http" || parsed_uri.scheme == "rtsp")
 
180
    else if (parsed_uri.scheme == "http" ||
 
181
             parsed_uri.scheme == "https" ||
 
182
             parsed_uri.scheme == "rtsp")
181
183
    {
182
184
        return Result{true, "Client can access streaming content"};
183
185
    }