Compare commits

...

3 Commits

Author SHA1 Message Date
Tom Moor fedd983649 v0.87.2 2025-09-01 12:32:44 +02:00
Tom Moor 3b2833c752 Update sanitizeLists.ts (#10065)
closes #10042
2025-09-01 06:25:09 -04:00
Tom Moor f1dee53dc4 fix: Unable to access private OIDC server endpoints (#10062) 2025-09-01 05:12:49 -04:00
4 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ Business Source License 1.1
Parameters
Licensor: General Outline, Inc.
Licensed Work: Outline 0.87.1
Licensed Work: Outline 0.87.2
The Licensed Work is (c) 2025 General Outline, Inc.
Additional Use Grant: You may make use of the Licensed Work, provided that
you may not use the Licensed Work for a Document
@@ -15,7 +15,7 @@ Additional Use Grant: You may make use of the Licensed Work, provided that
Licensed Work by creating teams and documents
controlled by such third parties.
Change Date: 2029-08-31
Change Date: 2029-09-01
Change License: Apache License, Version 2.0
+1 -1
View File
@@ -382,6 +382,6 @@
"qs": "6.9.7",
"prismjs": "1.30.0"
},
"version": "0.87.1",
"version": "0.87.2",
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
+2
View File
@@ -24,6 +24,7 @@ export default abstract class OAuthClient {
try {
response = await fetch(this.endpoints.userinfo, {
method: "GET",
allowPrivateIPAddress: true,
headers: {
Authorization: `Bearer ${accessToken}`,
"Content-Type": "application/json",
@@ -59,6 +60,7 @@ export default abstract class OAuthClient {
response = await fetch(endpoint, {
method: "POST",
allowPrivateIPAddress: true,
headers: {
"Content-Type": "application/x-www-form-urlencoded",
},
+1 -1
View File
@@ -16,7 +16,7 @@ export default function sanitizeLists(turndownService: TurndownService) {
content = content
.replace(/^\n+/, "") // remove leading newlines
.replace(/\n+$/, "\n") // replace trailing newlines with just a single one
.replace(/\n/gm, "\n "); // 2 space indent
.replace(/\n/gm, "\n "); // 4 space indent
let prefix = options.bulletListMarker + " ";
const parent = node.parentNode;