8.x - In Setup with without Package Servers - SMP would fail to provide packages containing space in base folder when shared as UNC source
search cancel

8.x - In Setup with without Package Servers - SMP would fail to provide packages containing space in base folder when shared as UNC source

book

Article ID: 258539

calendar_today

Updated On:

Products

Client Management Suite IT Management Suite

Issue/Introduction

While deploying packages with spaces in the base folder the packages fail to download and I get HTTP error 400 in the client log. No errors are seen on the Server side. The version of ITMS/CMS is 8.6 or 8.5

When a client would attempt to download this package, the following request would be made:

Downloading 'C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\Software Delivery\{38E9B011-E795-40AD-AF83-7AE23C825C7D}\cache\File with space.txt' from 'https://SMPSERVER/Altiris/PackageShare/pkggroup_qz3fowcrjmcdepcv56jahn6srddfz7j4/space folder/File%20with%20space.txt', size 9, in cache 0, total file blocks 1, blocks position 0/14, local blocks: 0/14, server blocks: 0/0, value rank on

server: 0

Following with:

Sending event Start for package {38E9B011-E795-40AD-AF83-7AE23C825C7D} Name UNC Space Pkg; URL = https://<SMPSERVER>/Altiris/PackageShare/pkggroup_qz3fowcrjmcdepcv56jahn6srddfz7j4/space folder; downloadNum = 1;  cursor = 0; rate = 0; status = Refresh

Resulting in:

Failed to download package '{38E9B011-E795-40AD-AF83-7AE23C825C7D}' from: https://<SMPSERVER>/Altiris/PackageShare/pkggroup_qz3fowcrjmcdepcv56jahn6srddfz7j4/space folder, local blocks: 0/14, error: HTTP status 400: The server cannot process the request because the syntax is not valid (0x8FA10190)

Environment

Release: 8.5/8.6

Multiple Packages imported into SMP using Access from existing UNC containing space in the folder name and file with spaces inside:

Cause

For packages with input type UNC the output generated HTTP codebase is not escaped

Resolution

As a workaround, it would be required either to import packages without space in the folder name or add Site Package Server from where clients would be able to properly obtain packages.

Engineering is aware of this issue, and it would be resolved in 8.7 release.