Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 202707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:18:49+00:00 2026-05-11T17:18:49+00:00

The docs for Uri.LocalPath don’t say what happens if you feed it a non

  • 0

The docs for Uri.LocalPath don’t say what happens if you feed it a non local path like http://stackoverflow.com/. Does anyone know of a source that gives the official spec for how it handle this?

I’m wanting to know what kind of gotchas and corner cases it might have so I can’t be sure I’ve got thing right by just trying things.

(alternately does anyone known of a robust way to check if a Uri is or is not local? Particularly, is it something I can access via the file-system)

  • 1 1 Answer
  • 3 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T17:18:49+00:00Added an answer on May 11, 2026 at 5:18 pm

    You’re violating the pre-conditions by using it on a Uri that is not a “file name”. Thus, as I see it, it can return whatever it pleases.

    To see if a Uri is a filename, use Uri.IsFile

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

http://docs.djangoproject.com/en/dev/intro/tutorial03/ I was at the step Decoupling the URLconfs where the tutorial illustrates how
So taking a look at the API doc page here: http://developers.facebook.com/docs/reference/javascript/FB.api I'm wondering if
I am trying to follow the steps mention here http://developers.facebook.com/docs/authentication/devices/ to get the authentication
I'm using URL Fetch Java API http://code.google.com/appengine/docs/java/urlfetch/overview.html#Fet ... to get information from graph.facebook.com, however,
very strange error. i use gide http://developers.facebook.com/docs/authentication/ . so i create request to fb
I'm trying to do the python tutorial here http://code.google.com/appengine/docs/python/gettingstarted/helloworld.html (I have python 2.5 installed)
MSDN docs say that only value types need boxing, but this does not apply
http://docs.python.org/3.0/whatsnew/3.0.html says it lists whats new , but in my opinion, it only lists
The docs about openssl_sign() say that the signature is returned in the passed string
The docs for django.core.files.File imply I can do this: print File(open(path)).url but the File

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.