OPENIDE #248 Access to an untrusted source

This commit is contained in:
Nikita Iarychenko
2025-12-25 18:33:09 +04:00
parent e61c47c8f2
commit 264c999035

View File

@@ -1,4 +1,7 @@
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
//
// Modified by Nikita Iarychenko at 2025 as part of the OpenIDE project(https://openide.ru).
// Any modifications are available on the same license terms as the original source code.
package org.jetbrains.kotlin.idea
import com.intellij.ide.IdeBundle
@@ -190,7 +193,7 @@ internal open class StandalonePluginUpdateChecker(
val uid = JetBrainsPermanentInstallationID.get()
val pluginId = pluginId.idString
var url =
"https://plugins.jetbrains.com/plugins/list?pluginId=$pluginId&build=$buildNumber&pluginVersion=$currentVersion&os=$os&uuid=$uid"
"https://plugins.openide.ru/list?pluginId=$pluginId&build=$buildNumber&pluginVersion=$currentVersion&os=$os&uuid=$uid"
val machineId = MachineIdManager.getAnonymizedMachineId("JetBrainsUpdates")
if (machineId != null) {