MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / getConfigNameFromMappings

Method getConfigNameFromMappings

subinfo/subinfo.ts:341–346  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

339 return null;
340 }
341
342 // 从 Content-Disposition 头获取配置名称
343 private getConfigNameFromHeader(contentDisposition: string | null): string | null {
344 if (!contentDisposition) return null;
345
346 try {
347 const parts = contentDisposition.split(';');
348 for (const part of parts) {
349 const trimmed = part.trim();

Callers 1

processSubscriptionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected