Page MenuHomeFeedback Tracker

Linux DS is handling squad xml differently compared to Windows, missing capability
Feedback, NormalPublic


Linux DS is handling squad-xml differently compared to windows DS. The main issue with this is that Linux DS seems unable to handle personalized profiles, for example: There are no errors logged into RPT but the tag doesn't show up.

Here's an example what a squad.php could contain:

	header("Content-Type: application/xhtml+xml");
	$file = file_get_contents("squad.xml");
	$uri = $_SERVER['REQUEST_URI'];
	$ltr = strtoupper(substr($uri, strrpos($uri, '?')+1));
	$file = str_replace('default.paa', 'squad_'.$ltr.'.paa',$file);
	echo $file;

Using curl, this returns a proper squad XML-file with a customized squad logo (for example with player's initials). Works on Windows DS, not on Linux DS.


Operating System
Linux x64
Operating System Version
Ubuntu Server 18.04.4 LTS
Steps To Reproduce
  1. Setup squad XML files on a remote server. The XML file needs to contain your real player id (and nick?).
  2. Set the tailored squad url into your Arma 3 profile. E.g.
  3. Connect a Linux DS Arma 3 server.
  4. Notice how your name [tag] is missing.
  5. Compare to Windows DS server where the tag is shown.

Here are example squad files you can use for testing:
Example XML URL

Additional Information

Another example how the handling is different is that Linux DS can't handle 301 (moved permanently) returned by the xml-url. For example if the domain is, but the given xml url is, Windows DS redirects to, but Linux DS does not, and instead produces an (rpt) error about how it can't read the 301 page. This seems to indicate that Linux DS is using curl to fetch the xml, as it behaves similarly. Here's some discussion about 301 with Linux DS

We've been using this method of setting squad urls in LDD Kyllikki since Armed Assault.

Event Timeline

dedmen claimed this task.May 18 2020, 10:40 AM
dedmen added a subscriber: dedmen.

Already fixed probably, on perf/prof/dev branch soon.

dedmen changed the task status from New to Feedback.Jul 15 2020, 12:21 PM

v146824 perf/prof branch - Issue still ongoing.

Currently running a server on CentOS 7, both Units and Squad xml do not load on the server.

Pi added a subscriber: Pi.Sat, Jun 12, 4:27 PM

Hi, is the issue still happening @brysondev ?