nextcloud-libraries / nextcloud-libraries/nextcloud-vue
URL pattern only accepts urls with domain
Nobody has claimed this yet.
- Dominant language
- Vue
- Stars
- 246
- Forks
- 99
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 103
Description
the smart widget validation is using this URL pattern to decide if a URL should be send to the resolver.
my setup is within a local docker and this does not have a domain like .com - so the resolver is never triggered for local urls.
Is this on purpose or should it be made more flexible?
Contributor guide
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.
Research direction
Start with the URL pattern in src/components/NcRichText/helpers.js at line 1, then inspect its use in src/components/NcRichText/NcReferenceList.vue at line 67. Reproduce the behavior with a local URL in the Docker setup and determine whether the resolver is expected to accept URLs without a public domain. Done means the intended local-URL behavior is implemented and verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100