Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000973Zandronum[All Projects] Bugpublic2012-08-15 10:452018-09-30 22:10
ReporterZalewa 
Assigned ToTorr Samaho 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version1.0-beta 
Target Version3.0Fixed in Version3.0 
Summary0000973: Escaped quote characters are not read properly from CMD line on Windows
DescriptionTo see how Microsoft resolves the problem of escaped quote characters I made a simple test to check how CommandLineToArgvW(GetCommandLineW()) WinAPI functions treat occurences of \". The result of this test was that each occurence of \" is treated as an escaped " character. Zandronum however messes everything up completely when for example an escaped quote character is used in +sv_hostname arg.
Steps To Reproduce# Attempt to host your server with following command line: zandronum.exe -host -iwad doom2.wad +sv_hostname "Examp\"le Server"
# Discover that your server is named 'Examp'
Attached Files

- Relationships
child of 0000942closedZalewa Doomseeker Create Server dialog creates unescaped parameters through "Command Line" button 
child of 0002172closedTorr Samaho Zandronum Upgrade GZDoom base to 1.8.6 

-  Notes
User avatar (0004369)
ZzZombo (reporter)
2012-08-15 11:30

Also this occurs in log file names, in message that says "Log started".
User avatar (0004372)
Edward-san (developer)
2012-08-15 15:26

Is it different from gzdoom 323? If not, does it happen in latest zdoom?
User avatar (0004373)
Zalewa (developer)
2012-08-15 17:10

Is it a sufficient information that the same happens in ZDoom 2.6.1?
User avatar (0004374)
Torr Samaho (administrator)
2012-08-15 19:18

Quote from Zalewa
Is it a sufficient information that the same happens in ZDoom 2.6.1?

Yes. In this case please report it at the ZDoom forum.
User avatar (0004377)
Zalewa (developer)
2012-08-16 16:56

'http://forum.zdoom.org/viewtopic.php?t=33763 [^]'
User avatar (0005734)
Edward-san (developer)
2013-01-11 12:08

Randi should have fixed the problem in r4025.
User avatar (0014340)
Edward-san (developer)
2016-02-06 10:51

Is it fixed in latest zandronum 3.0 beta?
User avatar (0014368)
Ru5tK1ng (updater)
2016-02-06 17:33

I hosted from the command line and my server name showed up properly with the escaped character from the example command.
User avatar (0014376)
Zalewa (developer)
2016-02-06 19:06

Command line arguments are still interpreted incorrectly in 3.0-alpha-r160131-2023. It is impossible to blank variables as described here:
'http://zandronum.com/tracker/view.php?id=2482 [^]'

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2012-08-15 10:45 Zalewa New Issue
2012-08-15 10:49 Zalewa Summary Quote characters from CMD line are not escaped on Windows => Escaped quote characters are not read properly from CMD line on Windows
2012-08-15 11:30 ZzZombo Note Added: 0004369
2012-08-15 15:26 Edward-san Note Added: 0004372
2012-08-15 17:10 Zalewa Note Added: 0004373
2012-08-15 19:18 Torr Samaho Note Added: 0004374
2012-08-15 19:18 Torr Samaho Status new => acknowledged
2012-08-15 19:18 Torr Samaho Resolution open => waiting for zdoom
2012-08-16 16:56 Zalewa Note Added: 0004377
2012-09-08 18:11 Blzut3 Relationship added child of 0000942
2013-01-11 12:08 Edward-san Note Added: 0005734
2016-02-06 10:51 Edward-san Note Added: 0014340
2016-02-06 10:51 Edward-san Assigned To => Torr Samaho
2016-02-06 10:51 Edward-san Status acknowledged => feedback
2016-02-06 10:51 Edward-san Resolution waiting for zdoom => open
2016-02-06 10:51 Edward-san Target Version => 3.0
2016-02-06 10:51 Edward-san Relationship added child of 0002172
2016-02-06 12:02 Edward-san Status feedback => needs testing
2016-02-06 17:33 Ru5tK1ng Note Added: 0014368
2016-02-06 17:33 Ru5tK1ng Status needs testing => resolved
2016-02-06 17:33 Ru5tK1ng Resolution open => fixed
2016-02-06 17:33 Ru5tK1ng Fixed in Version => 3.0
2016-02-06 19:06 Zalewa Note Added: 0014376
2018-09-30 22:10 Blzut3 Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker