mirror of
https://github.com/floccusaddon/floccus.git
synced 2026-04-26 06:35:59 +03:00
[GH-ISSUE #160] WebDav error line 175 WebDav.js #152
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#152
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 @jlbprof on GitHub (Aug 30, 2018).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/160
Software versions
Using WebDav on Nextcloud
Steps to reproduce
Expected outcome
https://plex.jlbprof.com:8008/nextcloud/remote.php/webdav/bookmarks.xbel.lock
Account.js:170 ReferenceError: html is not defined
at WebDavAdapter.htmlDecode (WebDav.js:175)
at WebDav.js:309
at Array.forEach ()
at WebDavAdapter._parseFolder (WebDav.js:308)
at WebDavAdapter._parseXbelDoc (WebDav.js:328)
at WebDavAdapter._callee8$ (WebDav.js:373)
at tryCatch (polyfill.js:6900)
at Generator.invoke [as _invoke] (polyfill.js:7138)
at Generator.prototype.(anonymous function) [as next] (chrome-extension://fnaicdffflnofjppbagibeoednhnbjhg/dist/js/polyfill.js:6952:21)
at step (background-script.js:27190)
I looked at WebDav.js
htmlDecode(content) {
let a = document.createElement('a')
a.innerHTML = html
return a.textContent
}
Line 175 is the a.innerHTML line, html is truly not defined.
Did you recently refactor that code? If not I can look into it.
Thanx
Julian
@marcelklehr commented on GitHub (Aug 31, 2018):
I just released a fix for this with 3.0.6
@jlbprof commented on GitHub (Aug 31, 2018):
Thank you Marcel
Julian
On Fri, Aug 31, 2018 at 3:44 AM Marcel Klehr notifications@github.com
wrote:
@github-actions[bot] commented on GitHub (Mar 21, 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.