mirror of
https://github.com/floccusaddon/floccus.git
synced 2026-04-27 07:05:59 +03:00
[GH-ISSUE #983] Error when tilde in URL #641
Labels
No labels
browser-specific
bug
correctness issues
enhancement
feature: Google Drive
feature: Linkwarden
feature: git
feature: nextcloud-bookmarks
feature: tabs
feature: webdav
help wanted
native-app
priority: high
priority: low
priority: medium
pull-request
question
question
stale
upstream
waiting for more information
wontfix
🙁 Not following issue template
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/floccus#641
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gumida on GitHub (Oct 12, 2021).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/983
Describe the bug
The sync is no longer working, if there are bookmarks with a tilde in their URL.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Accept URLs with a tilde :)
Desktop
(please complete the following information)
Server
Debug log
@mnalis commented on GitHub (Oct 15, 2021):
@gumida Are you sure if does not also fail if you try to add and sync a bookmark without tilde character?
For me (little older versions of software then you) floccus seems to works just fine with URLs containing tildes.
It could be a bug introduced in newer versions of floccus/bookmark app, but I'd guess it is more likely to be wrong
nextcloud URL(or some other option) in account config (because that error seems to happen when data returned by specified URL is not JSON, if I'm reading code correctly0Yes, your error would indicate that you've setup account as using
nextcloud bookmarksadapter.However, maybe some of the setup parameters (like
nextcloud URL) are not in exact format as floccus wants them.Few questions / ideas:
Nextcloud URLis entered correctly (in my case for example, it looks likehttps://nextcloud.example.com/nextcloud, and when I click on my nextcloud bookmarks web interface, the URL bar showshttps://nextcloud.example.com/nextcloud/index.php/apps/bookmarks/and I remove everything fromindex.phpto the end to getNextcloud URL)If you have access, and above suggestion does not help, you could also look what gets written at server nextcloud log (in my case, it is located at
/var/lib/nextcloud/data/nextcloud.log)@marcelklehr commented on GitHub (Nov 2, 2021):
I can confirm not being able to reproduce this. Updating the bookmarks app on nextcloud may help, as the latest patch fixes some bugs that may have caused this, but in general you should check your nextcloud logs as @mnalis suggested.
@gumida commented on GitHub (Nov 3, 2021):
Thanks for your help.
I was able to use your input to talk to my webhoster. After some research, it turned out to be an issue with his web application firewall. For some reason it was blocking requests containing a tilde - for "security reasons", I suppose 😄
Sorry for the trouble :)
@github-actions[bot] commented on GitHub (Mar 20, 2023):
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.