Commit a343458
authored
chore: Remove frames.html from generated doc (#251)
The documentation generated from `yard` creates a [frames.html][1] file.
This file is susceptible to XSS attacks.
Additionally, this page can act as an open redirect (e.g.
https://launchdarkly.github.io/ruby-server-sdk/frames.html#!////example.com).
To remediate this problem, we are going to simply remove the generate
frames.html file. This file was created to [support classical frameset
views for the docs][2], which we have no need to support.
[1]:
https://github.com/lsegal/yard/blob/2d197a381c5d4cc5c55b2c60fff992b31c986361/templates/default/fulldoc/html/frames.erb
[2]:
lsegal/yard@dc0fcb41 parent 58e9d1f commit a343458
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments