2010-02-26 Marek Habersack <mhabersack@novell.com>

* tools/asp_state/asp-state4.exe.config: modifed to load types
	from System.Web 4.0.0

	* src/Mono.WebServer/InitialWorkerRequest.cs: do not decode paths
	before passing them to GetSafePath. Fixes bug #581594

svn path=/trunk/xsp/; revision=152564
This commit is contained in:
Marek Habersack 2010-02-26 18:27:37 +00:00
Родитель 3af6f0d155
Коммит aa1ce28a67
3 изменённых файлов: 10 добавлений и 3 удалений

Просмотреть файл

@ -1,3 +1,11 @@
2010-02-26 Marek Habersack <mhabersack@novell.com>
* tools/asp_state/asp-state4.exe.config: modifed to load types
from System.Web 4.0.0
* src/Mono.WebServer/InitialWorkerRequest.cs: do not decode paths
before passing them to GetSafePath. Fixes bug #581594
2010-02-16 Marek Habersack <mhabersack@novell.com>
* src/Mono.WebServer.Apache/ModMonoRequest.cs: FillBuffer makes

Просмотреть файл

@ -241,8 +241,7 @@ namespace Mono.WebServer
queryString = path.Substring (qmark + 1);
path = path.Substring (0, qmark);
}
path = HttpUtility.UrlDecode (path);
path = GetSafePath (path);
if (path.StartsWith ("/~/")) {
// Not sure about this. It makes request such us /~/dir/file work

Просмотреть файл

@ -4,7 +4,7 @@
<application name="ASP.NET State Server">
<service>
<wellknown mode="Singleton"
type="System.Web.SessionState.RemoteStateServer, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
type="System.Web.SessionState.RemoteStateServer, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
objectUri="StateServer" />
</service>
<channels>