Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
This commit is contained in:
		| @@ -103,7 +103,7 @@ const headerActions = computed(() => []); | ||||
| const headerTabs = computed(() => []); | ||||
|  | ||||
| definePageMetadata(() => ({ | ||||
| 	title: announcement.value ? `${i18n.ts.announcements}: ${announcement.value.title}` : i18n.ts.announcements, | ||||
| 	title: announcement.value ? announcement.value.title : i18n.ts.announcements, | ||||
| 	icon: 'ti ti-speakerphone', | ||||
| })); | ||||
| </script> | ||||
|   | ||||
| @@ -62,7 +62,7 @@ function accepted() { | ||||
| 	state.value = 'accepted'; | ||||
| 	if (session.value && session.value.app.callbackUrl) { | ||||
| 		const url = new URL(session.value.app.callbackUrl); | ||||
| 		if (['javascript:', 'file:', 'data:', 'mailto:', 'tel:'].includes(url.protocol)) throw new Error('invalid url'); | ||||
| 		if (['javascript:', 'file:', 'data:', 'mailto:', 'tel:', 'vbscript:'].includes(url.protocol)) throw new Error('invalid url'); | ||||
| 		location.href = `${session.value.app.callbackUrl}?token=${session.value.token}`; | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -65,7 +65,7 @@ async function onAccept(token: string) { | ||||
|  | ||||
| 	if (props.callback && props.callback !== '') { | ||||
| 		const cbUrl = new URL(props.callback); | ||||
| 		if (['javascript:', 'file:', 'data:', 'mailto:', 'tel:'].includes(cbUrl.protocol)) throw new Error('invalid url'); | ||||
| 		if (['javascript:', 'file:', 'data:', 'mailto:', 'tel:', 'vbscript:'].includes(cbUrl.protocol)) throw new Error('invalid url'); | ||||
| 		cbUrl.searchParams.set('session', props.session); | ||||
| 		location.href = cbUrl.toString(); | ||||
| 	} else { | ||||
|   | ||||
| @@ -17,7 +17,7 @@ SPDX-License-Identifier: AGPL-3.0-only | ||||
| 				<div :class="$style.tl"> | ||||
| 					<MkTimeline | ||||
| 						ref="tlComponent" | ||||
| 						:key="src + withRenotes + withReplies + onlyFiles" | ||||
| 						:key="src + withRenotes + withReplies + onlyFiles + withSensitive" | ||||
| 						:src="src.split(':')[0]" | ||||
| 						:list="src.split(':')[1]" | ||||
| 						:withRenotes="withRenotes" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo