Repository navigation
Commit 56af21c
committed
fix(landing): read a max-* limit's none as a limit, not a noindex
max-image-preview:none only turns off image previews; the noindex fallback
matched its trailing :none and would have kept / out of the index when such
a header also carried an unknown directive. A noindex or none now counts
alone or after a crawler name, never as a max-* limit's value.1 parent b8438a0 commit 56af21c
2 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
| |||
0 commit comments