nodeSolidServer / nodeSolidServer/node-solid-server
Missing content escape when globbing
未關閉
還沒有人認領這個 Issue。
bug
- 主要語言
- JavaScript
- 星號
- 1.8k
- 分支
- 308
- PR 合併指標
- 30 天內沒有已合併 PR
描述
I have created a resource at /items/<A>AA-123. If I look up /items/ the data browser works as expected and shows it as <A>AA-123 everywhere.
But if I look up /items/* I get an incorrectly formatted RDF document:
@prefix : <#>.
@prefix terms: <http://purl.org/dc/terms/>.
@prefix sol: <http://elfisk.dk/ns/solidrc#>.
@prefix XML: <http://www.w3.org/2001/XMLSchema#>.
@prefix c: </profile/card#>.
@prefix mod: <./>.
<<A>AA-123>
a sol:model;
terms:created "2018-11-09T09:26:32Z"^^XML:dateTime;
terms:creator c:me;
terms:title "<S>AAA".
Apparently the "globbing handler" failed to encode the content correctly.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
比較 /items/ 與 /items/* 來重現問題,並檢查負責產生 RDF 回應的 globbing 處理器。追蹤資源名稱與標題的序列化方式,然後確認產生的 RDF 文件中的角括號及其他內容是否正確逸出。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, nodejs
- 領域
- backend
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100