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