ufairiya / mongoose

Automatically exported from code.google.com/p/mongoose
MIT License
0 stars 0 forks source link

cgi process creation fails when root directory path contains diacritical signs (on Windows) #105

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create directory c:\liška
2. copy mongoose.exe into it
3. create file info.php

#!c:\Program Files\php\php-cgi.exe
<?php
    phpinfo();
?>

4. run mongoose.exe
5. view localhost:8080/info.php

What is the expected output? What do you see instead?
It should return phpinfo() output but returns blank page and "[error]
[client 127.0.0.1] GET /info.php: line 1311: CreateProcess(
info.php): 193" in console

What version of the product are you using? On what operating system?
mongoose-2.8 on Windows XP (Media Center Edition, SP3)

Please provide any additional information below.
Similar to Issue 34.
In a directory c:\tmp (no diacritical signs) it works as expected.

Original issue reported on code.google.com by truhla.s...@gmail.com on 28 Nov 2009 at 12:00

GoogleCodeExporter commented 9 years ago
It seems to be possible to use non-ascii characters, if the encoding of the 
conf-file is "UTF-8 without BOM" (can be created with, e.g., Notepad++), as 
long as the non-ascii character is not in the final position. So "öm" works, 
"mö" does not.

Original comment by bel2...@gmail.com on 30 Mar 2012 at 6:27

GoogleCodeExporter commented 9 years ago

Original comment by valenok on 22 Sep 2012 at 12:41