mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-24 04:01:16 +00:00
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:
parent
0fa6a5270a
commit
c7934d0763
1 changed files with 5 additions and 2 deletions
|
@ -375,9 +375,12 @@ static Class standardClass = Nil;
|
||||||
// Force complete URLs
|
// Force complete URLs
|
||||||
if (isSecure!=requestIsSecure)
|
if (isSecure!=requestIsSecure)
|
||||||
completeUrlsPreviousState=[aContext _generateCompleteURLs];
|
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);
|
NSDebugMLLog(@"gswdync",@"anUrl=%@",anUrl);
|
||||||
GSWResponse_appendContentString(aResponse,anUrl);
|
GSWResponse_appendContentString(aResponse,anUrl);
|
||||||
[self _appendQueryStringToResponse:aResponse
|
[self _appendQueryStringToResponse:aResponse
|
||||||
inContext:aContext];
|
inContext:aContext];
|
||||||
[self _appendFragmentToResponse:aResponse
|
[self _appendFragmentToResponse:aResponse
|
||||||
|
|
Loading…
Reference in a new issue