Skip to content

'base' does not work with absolute URL #2927

@njam

Description

@njam

Version

3.1.3

Reproduction link

https://repl.it/@njam/vue-router-base

Steps to reproduce

  1. Set 'base' to an absolute URL
  2. Resolve any link

What is expected?

Final URL is based on absolute base URL:
"http://example.com/foo"

What is actually happening?

Final URL is using base URL as relative path:
"/http:/example.com/"


I couldn't find a ticket for this, only a closed PR: #1353

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions