bugGNUstep - Bugs: bug #30045, minor incompatibility in NSURL

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #30045: minor incompatibility in NSURL

Submitted by:  Doug Simons <theeggcamefirst>
Submitted on:  Thu 03 Jun 2010 05:50:30 PM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue 08 Jun 2010 04:54:58 PM UTC, comment #1:

Thanks ...added a check to fix that.

Richard Frith-Macdonald <CaS>
Project Member
Thu 03 Jun 2010 05:50:30 PM UTC, original submission:

NSURL behaves slightly differently than Cocoa when initialized with an empty string.

A recent change allows an NSURL object to be created with an empty string, which is consistent with Cocoa, but in Cocoa the -path method returns nil in this case, and in GNUstep it returns an empty string. According to the docs, it should return nil if the URL doesn't conform to RFC 1808 (which presumably is the case for an empty URL).

Doug Simons <theeggcamefirst>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by CaS (Posted a comment)
  • -unavailable- added by theeggcamefirst (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 08 Jun 2010 04:54:58 PM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1