Top "Url" questions

A URL (Uniform Resource Locator), is a universal identifier on the web.

How to specify a local file within html using the file: scheme?

I'm loading a html file hosted on the OS X built in Apache server, within that file I am linking …

html url file-uri
Can I read the hash portion of the URL on my server-side application (PHP, Ruby, Python, etc.)?

Assuming a URL of: www.example.com/?val=1#part2 PHP can read the request variables val1 using the GET array. …

http url web language-agnostic uri-fragment
Is a URL allowed to contain a space?

Is a URI (specifically an HTTP URL) allowed to contain one or more space characters? If a URL must be …

html http url encoding
How to convert URL parameters to a JavaScript object?

I have a string like this: abc=foo&def=%5Basf%5D&xyz=5 How can I convert it into …

javascript url url-parameters url-parsing
Convert blob URL to normal URL

My page generates a URL like this: "blob:http%3A//localhost%3A8383/568233a1-8b13-48b3-84d5-cca045…

javascript url blob
Get host domain from URL?

how to get host domain from a string URL? GetDomain has 1 input "URL", 1 Output "Domain" Example1 INPUT: http://support.domain.…

c# string url httpwebrequest uri
Getting the base url of the website and globally passing it to twig in Symfony 2

I'm making the switch from CodeIgniter to Symfony 2. Can someone please give me an example of how to: Get the …

url symfony base-url
How to construct a relative path in Java from two absolute paths (or URLs)?

Given two absolute paths, e.g. /var/data/stuff/xyz.dat /var/data How can one create a relative path …

java url file path
Redirect to external URI from ASP.NET MVC controller

I'm trying to redirect to external url from an action method but can't get it to work. Can anybody shed …

asp.net-mvc url redirect
How to check whether a string is a valid HTTP URL?

There are the Uri.IsWellFormedUriString and Uri.TryCreate methods, but they seem to return true for file paths etc. How …

c# .net validation url uri