mirror of
https://github.com/miniflux/v2.git
synced 2025-07-02 16:38:37 +00:00
feat: support searching well-known urls in subdirectory
This commit is contained in:
parent
acc9186a59
commit
9a826bbe6f
2 changed files with 42 additions and 33 deletions
|
@ -25,6 +25,8 @@ func TestAbsoluteURL(t *testing.T) {
|
|||
scenarios := [][]string{
|
||||
{"https://example.org/path/file.ext", "https://example.org/folder/", "/path/file.ext"},
|
||||
{"https://example.org/folder/path/file.ext", "https://example.org/folder/", "path/file.ext"},
|
||||
{"https://example.org/", "https://example.org/path", "./"},
|
||||
{"https://example.org/folder/", "https://example.org/folder/", "./"},
|
||||
{"https://example.org/path/file.ext", "https://example.org/folder", "path/file.ext"},
|
||||
{"https://example.org/path/file.ext", "https://example.org/folder/", "https://example.org/path/file.ext"},
|
||||
{"https://static.example.org/path/file.ext", "https://www.example.org/", "//static.example.org/path/file.ext"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue