Skip to content

Allow non-http URIs (e.g. file:\\) as link attachments  #812

@foremandomai

Description

@foremandomai

Desired Feature: Allow attachment of non-http URIs (e.g. file:\)

  • BookStack Version: BookStack v0.20.3
  • PHP Version: PHP 7.2.4
  • MySQL Version: Ver 15.1 Distrib 5.5.56-MariaDB, for Linux (x86_64) using readline 5.1
Expected Behavior

file:\\ link attachments should be attachable to pages

Current Behavior

Trying to insert a non-http URI in the Attach Link menu while editing any given page fails and is unresponsive. Editing may still continue however the URI is not accepted or placed into the document as an attachment.

Here is an example link: file:\\server\share

Steps to Reproduce

See Above

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions