MantisBT - Zandronum |
| View Issue Details |
|
| 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' |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | | child of | 0000942 | closed | Zalewa | Doomseeker | Create Server dialog creates unescaped parameters through "Command Line" button | | child of | 0002172 | closed | Torr Samaho | Zandronum | Upgrade GZDoom base to 1.8.6 |
|
| Attached Files | |
|
| 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 |
|
Notes |
|
|
|
|
Also this occurs in log file names, in message that says "Log started". |
|
|
|
|
|
Is it different from gzdoom 323? If not, does it happen in latest zdoom? |
|
|
|
(0004373)
|
|
Zalewa
|
|
2012-08-15 17:10
|
|
|
Is it a sufficient information that the same happens in ZDoom 2.6.1? |
|
|
|
|
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. |
|
|
|
(0004377)
|
|
Zalewa
|
|
2012-08-16 16:56
|
|
|
|
|
|
|
Randi should have fixed the problem in r4025. |
|
|
|
|
|
Is it fixed in latest zandronum 3.0 beta? |
|
|
|
|
|
I hosted from the command line and my server name showed up properly with the escaped character from the example command. |
|
|
|
(0014376)
|
|
Zalewa
|
|
2016-02-06 19:06
|
|
|