Skip to content

Instantly share code, notes, and snippets.

@Pretz
Created November 4, 2011 05:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Pretz/1338731 to your computer and use it in GitHub Desktop.
Save Pretz/1338731 to your computer and use it in GitHub Desktop.
NSURL oddness
(gdb) po [[NSURL alloc] initWithScheme:@"https" host:@"localhost:8000" path:@"/xauth_login/"]
https://localhost:8000/xauth_login///
(gdb) po [NSURL URLWithString:@"https://localhost:8000/xauth_login/"]
https://localhost:8000/xauth_login/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment