Anonymous | Login | Signup for a new account | 2025-07-27 11:16 UTC | ![]() |
My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000973 | Zandronum | [All Projects] Bug | public | 2012-08-15 10:45 | 2018-09-30 22:10 | ||||
Reporter | Zalewa | ||||||||
Assigned To | Torr Samaho | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | Microsoft | OS | Windows | OS Version | XP/Vista/7 | ||||
Product Version | 1.0-beta | ||||||||
Target Version | 3.0 | Fixed in Version | 3.0 | ||||||
Summary | 0000973: Escaped quote characters are not read properly from CMD line on Windows | ||||||||
Description | To 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 | |||||||||
![]() |
|||||||||||||
|
![]() |
|
ZzZombo (reporter) 2012-08-15 11:30 |
Also this occurs in log file names, in message that says "Log started". |
Edward-san (developer) 2012-08-15 15:26 |
Is it different from gzdoom 323? If not, does it happen in latest zdoom? |
Zalewa (developer) 2012-08-15 17:10 |
Is it a sufficient information that the same happens in ZDoom 2.6.1? |
Torr Samaho (administrator) 2012-08-15 19:18 |
Quote from Zalewa Yes. In this case please report it at the ZDoom forum. |
Zalewa (developer) 2012-08-16 16:56 |
'http://forum.zdoom.org/viewtopic.php?t=33763 [^]' |
Edward-san (developer) 2013-01-11 12:08 |
Randi should have fixed the problem in r4025. |
Edward-san (developer) 2016-02-06 10:51 |
Is it fixed in latest zandronum 3.0 beta? |
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. |
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 [^]' |
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. |
![]() |
|||
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 |
Copyright © 2000 - 2025 MantisBT Team |