mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 06:36:56 +07:00
OPENIDE #248 Access to an untrusted source
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user