bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #31309] URL problems with local files and anchors


From: Richard Frith-Macdonald
Subject: [bug #31309] URL problems with local files and anchors
Date: Tue, 12 Oct 2010 07:19:40 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us) AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5

Follow-up Comment #2, bug #31309 (project gnustep):

All the NSLog() info is quite useful.

Can we concentrate on one thing at a time though, I would suggest starting
with the behavior of the NSURL class for parsing into parts.

If, instead of (or as well as) generating NSLog entries, we could produce
code in the testsuite which would generate NSURL objects representing files in
different ways, and for each the code could test the return values from the
various methods (-path, -fragment etc) ibn the way you did in your last
comment, then we can pinpoint any differences between NSURL behavior with file
URLs on OSX and GNUstep.

Once we have testsuite code to do this, we can make any modifications needed
to NSURL parsing.  Then, if parsing behaves the same way on botyh systems, we
can look at the methods loading data from a URL, and figure out what
stringWithContentsOfURL: is doing.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31309>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]