[plugins] IJPL-171513 Fix mid parameter

(cherry picked from commit f969b0762d239abaec1a53068f43cdc8f9d9bc84)

IJ-CR-154674

GitOrigin-RevId: 75d8d95eee1d7a07db5cd1febaf9823f82af8a78
This commit is contained in:
Yuriy Artamonov
2025-02-07 17:59:07 +01:00
committed by intellij-monorepo-bot
parent 3ed61a7adc
commit 84d4c0c25e

View File

@@ -166,7 +166,7 @@ class MarketplaceRequests(private val coroutineScope: CoroutineScope) : PluginIn
var url = URI(MarketplaceUrls.getSearchPluginsUpdatesUrl())
val os = URLEncoder.encode(SystemInfo.OS_NAME + " " + SystemInfo.OS_VERSION, CharsetToolkit.UTF8)
val machineId = MachineIdManager.getAnonymizedMachineId("JetBrainsUpdates") // same as regular updates
.takeIf { PropertiesComponent.getInstance().getBoolean(UpdateChecker.MACHINE_ID_DISABLED_PROPERTY, false) }
.takeIf { !PropertiesComponent.getInstance().getBoolean(UpdateChecker.MACHINE_ID_DISABLED_PROPERTY, false) }
val query = buildString {
append("build=${ApplicationInfoImpl.orFromPluginCompatibleBuild(buildNumber)}")