workaround for bad GSWDynamicURLString implementation

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21062 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Dave Wetzel 2005-04-06 18:17:20 +00:00
parent c923bad765
commit 48282e559d

View file

@ -375,9 +375,12 @@ static Class standardClass = Nil;
// Force complete URLs
if (isSecure!=requestIsSecure)
completeUrlsPreviousState=[aContext _generateCompleteURLs];
anUrl=(NSString*)[aContext componentActionURLIsSecure:isSecure];
// GSWDynamicURLString does not behave like a NSString that is why we *need*
// description as a workaround until GSWDynamicURLString is fixed
#warning check this! dave@turbocat.de
anUrl=[[aContext componentActionURLIsSecure:isSecure] description];
NSDebugMLLog(@"gswdync",@"anUrl=%@",anUrl);
GSWResponse_appendContentString(aResponse,anUrl);
GSWResponse_appendContentString(aResponse,anUrl);
[self _appendQueryStringToResponse:aResponse
inContext:aContext];
[self _appendFragmentToResponse:aResponse