今天在我的一个存储库中,我收到了此安全通知:
The kramdown gem before 2.3.0 for Ruby processes the template option inside Kramdown documents by default, which allows unintended read access (such as template="/etc/passwd") or unintended embedded Ruby code execution (such as a string that begins with template=" string://<%= `).
NOTE: kramdown is used in Jekyll, GitLab Pages, GitHub Pages, and Thredded Forum.
Run Code Online (Sandbox Code Playgroud)
我尝试创建 dependentabot 安全更新,但无法更新到所需版本。
如何解决这个问题?
初学者在这里。
除了position和strpos函数的语法之外还有其他区别吗?
如果不是,那么为什么我们有两个函数可以实现相同的功能,只是有一点语法差异呢?