Skip to content

Local file reference (with file://) can not be stored as bookmark in web gui #1468

@radoeka

Description

@radoeka

Describe the bug
Local file reference (with file://) can not be stored as bookmark in web gui

To Reproduce
Steps to reproduce the behavior:

  1. Have an html file on your local disk
  2. Double click this html file so it opens in your browser
  3. Select the link from the browser url bar, the one starting with file://user//etc/.....html
  4. Use this link in the Nextcloud bookmarks web GUI to create a bookmark.
  5. Click "+" in the NC bookmark GUI application, fill in the form (save it)
  6. The file:// is now prepended with https://file:// and this can not be changed.

Expected behavior
The file:// bookmark is saved unchanged so it just works

Screenshots
NA.

Desktop (please complete the following information):

  • OS: NA
  • Browser: NA
  • Version: NA

Server (please complete the following information):

  • OS: openSUSE_15.2 (NA)
  • HTTP server: Apache (NA)
  • Database: sqlite3
  • PHP version: 7.4
  • Nextcloud version: 20.0.8
  • Bookmarks app version: 4.1.0
  • Activated Nextcloud Apps: NA

Context
The bookmarks are shared with floccus on the various browser. The html file of course too, using Nextcloud (same location). As such it is useful to have this fille:// reference stored as bookmark and shared among various browsers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions