← Back to team overview

ubuntu-webapps-bugs team mailing list archive

[Bug 1352952] [NEW] Crash when accepting empty file string for upload

 

Public bug reported:

If oxide's FilePicker is passed an empty string to upload (e.g. by an
app not providing the file URL correctly to content-hub) it crashes.

This can be reproduced by simply adding 'model.accept([""])' to the
onCompleted function in webbrowser-app's ContentPeerPicker and then
attempting a file upload.

** Affects: oxide
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to Oxide.
https://bugs.launchpad.net/bugs/1352952

Title:
  Crash when accepting empty file string for upload

Status in Oxide Webview:
  New

Bug description:
  If oxide's FilePicker is passed an empty string to upload (e.g. by an
  app not providing the file URL correctly to content-hub) it crashes.

  This can be reproduced by simply adding 'model.accept([""])' to the
  onCompleted function in webbrowser-app's ContentPeerPicker and then
  attempting a file upload.

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1352952/+subscriptions


Follow ups

References