Skip to content

Conversation

azisyus
Copy link

@azisyus azisyus commented Nov 24, 2020

This PR passes an array in purpose to avoid _expandRequestShortSyntax, as result the program will hit here instead of "_expandRequestShortSyntax". The main problem is that function can't parse a string like database.del-db.filter.webspace-name=testdomain.com because it uses '.' as parameter and as result all we got is;

array:5 [
  0 => "database"
  1 => "del-db"
  2 => "filter"
  3 => "webspace-name=testdomain"
  4 => "com"
]
<?xml version="1.0" encoding="UTF-8"?>\n

<packet>
	<database>
		<del-db>
			<filter>
				<webspace-name>testdomain
					<com/>
				</webspace-name>
			</filter>
		</del-db>
	</database>
</packet>

and this causes to broken xml output which can't processed by plesk.

@sibprogrammer
Copy link
Member

Thank you very much for your pull request! The issue has been addressed in scope of 7626f9c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants