You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7fd425c
Browse filesBrowse the repository at this point in the historyBrowse files
Withhold password-protected article content from the REST API
The /wzkb/v1/knowledgebase, /wzkb/v1/knowledgebase/{id} and /wzkb/v1/search
endpoints returned the content and excerpt of password-protected articles
without the password. Return an empty excerpt and content when
post_password_required() is true, add a 'protected' flag like core, and skip
caching responses that include password-protected posts so an unlocked
response is never served to another requester.
Copy file name to clipboardExpand all lines: readme.txt
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -195,6 +195,15 @@ Release date: TBD
195
195
196
196
* [Pro] Reused cached Ask the Docs answers for reworded questions until their source articles change.
197
197
198
+
**Security**
199
+
200
+
* The `/wzkb/v1/knowledgebase` and `/wzkb/v1/search` REST endpoints returned the content and excerpt of password-protected articles without the password.
201
+
202
+
**Fixed**
203
+
204
+
* [Pro] GitHub imports and reimports stripped image captions from articles.
205
+
* [Pro] Ask the Docs could cite another company's article.
* The Knowledge Base search results page size overrode the REST search endpoint's `limit` parameter.
221
230
* Knowledge Base search forms showed duplicate suggestions when Better Search live search was also active.
231
+
* [Pro] Help widget searches returned no articles with Better Search active, and the search box lost focus while typing.
222
232
* Text in the Knowledge Base Alerts block could not be selected reliably in the editor.
223
233
* Knowledge Base Alerts blocks without an alignment saved an invalid `text-align: none` inline style.
224
234
* Settings repeater button labels used the wrong translation domain.
@@ -230,4 +240,4 @@ For the changelog of earlier versions, please refer to the [releases page on Git
230
240
== Upgrade Notice ==
231
241
232
242
= 3.2.1 =
233
-
Faster Pro Ask the Docs answers with a choice of model and a fallback provider, and better answer caching. Pro GitHub imports preserve image captions.
243
+
Security release. Stops the REST API exposing password-protected articles. Also adds faster Pro Ask the Docs answers with a choice of model and a fallback provider, and better answer caching. Pro GitHub imports preserve image captions.
0 commit comments