Escape SAML attributes values to avoid xml exceptions
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
调研方向
首先定位 node-wsfed 中的 SAML 属性序列化路径,并使用包含与号的图片 URL 重现该问题。验证属性值是否在生成 XML 之前已进行转义,以及生成的 assertion 是否不再引发所报告的 unexpected-end-of-file 异常。
由索引模型根据 Issue 内容生成。
描述
For example, in ASP.NET when an attribute value contains '&' char, WIF returns an error.
picture: https://secure.gravatar.com/avatar/5426f6b9d63ad92d60e6fe9fdf83aa21?s=480&r=pg&d=https%3A%2F%2Fssl.gstatic.com%2Fs2%2Fprofiles%2Fimages%2Fsilhouette80.png
Unexpected end of file. Following elements are not closed: AttributeValue, Attribute, AttributeStatement, Assertion, RequestedSecurityToken, RequestSecurityTokenResponse.
- 主要语言
- JavaScript
- 星标
- 16
- 派生
- 19
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
auth0/node-wsfed 的其他 Issue
-
难度 5/5 一周以上 新手友好度 10/100
auth0/node-wsfed#50 ·
相似的 Issue
-
bug MVP
难度 2/5 1-3 小时 新手友好度 68/100
saayam-for-all/webapp#1911 ·
维护者通常 1 天内回复
-
[Focus] Accessibility (a11y) [Package] Grid [Type] Bug
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
Cancelled query leaves stale row index; next query on the connection returns leading empty slots可能已有人在做 @pislm 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 7 天内回复
-
Harden bayesian-waves-bg.js: add prefers-reduced-motion, pointer-events guard, and hidden-tab pause未关闭
难度 2/5 1-3 小时 新手友好度 85/100
-
难度 1/5 1 小时以内 新手友好度 90/100
njitacm/njit-acm-website#109 ·