Web.URI: [RFC] Need a function to determine if a URL is absolute or relative
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- vim
- Domain
- tooling
Research direction
Start by locating the Web.URI implementation and reading the existing is_uri() and relative() behavior, then review the linked discussion for the intended distinction. Done means the API can reliably determine whether a supplied URI is absolute or relative and supports the reported absolute-URL case.
Written by the indexing model from the issue text.
Description
あと、相対パスなんですけど、
<a href="xxx"> これの xxx を渡せることを期待してたんですが、xxx が絶対 URL だとうまく動かない…
xxx が絶対 URI か相対 URI かを判断して .relative() を使うしかないかな
.is_uri() があるけど、絶対 URI も相対 URI も URI であることに変わりはないので、絶対 URI かどうかを判断する関数があると便利
http://lingr.com/room/vim/archives/2016/01/31#message-23002036
- Dominant language
- Vim Script
- Stars
- 586
- Forks
- 64
- Avg merge
- 9h 24m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vim-jp/vital.vim
-
Web.HTTP の非同期実行を行いたいPossibly taken @mikoto2000 claimed this 311 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Fix and feature: Add python setup in Github workflowMay be free again @tsuyoshicho claimed this 907 days ago, and no pull request is open. Open
-
Vim9.x: support change Vim 8.2/9.0 to Vim 9.0/9.1May be free again @tsuyoshicho claimed this 958 days ago, and no pull request is open. Open
-
feat: Bitwise.vim: bitwise shift operatorMay be free again @tsuyoshicho claimed this 1582 days ago, and no pull request is open. Open
-
Data.List: Deprecate function in string formMay be free again @ujihisa claimed this 2141 days ago, and no pull request is open. Open
All issues in vim-jp/vital.vim
Similar issues
-
bug connectors
Difficulty 1/5 Under an hour Newbie friendliness 67/100
pyinfra-dev/pyinfra#2036 ·
Maintainers usually reply within 9 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
nicobailon/pi-web-access#642 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
bug(tool/internal/instrument): identical inject_code rules from two rule packages are applied twiceOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
open-telemetry/opentelemetry-go-compile-instrumentation#1611 ·
Maintainers usually reply within 2 days
-
L: javascript
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
dependabot/dependabot-core#16744 ·
Maintainers usually reply within 1 day