Questions tagged [url]

A URL (Uniform Resource Locator), is a universal identifier on the web. A URL is a reference to a web resource at a specific location, and provides a means for retrieving that resource.

The syntax and parsing behavior for URLs is defined in the URL Living Standard web page - this is the current URL standard.

Basically URL has 3 parts:

  • the URL prefix, which specifies the protocol used to access the location
  • the server name or IP address of the server
  • the path to the directory or file(resource)

References

Related tags

43477 questions
11
votes
1 answer

Mailchimp use merge tags in link url

I am building a mailchimp campaign with a link to a custom form. I would like the fields of the form to be filled in with the info I have from my suscribers (first name, last name, company name, email...) For this, I am generating custom urls with…
web-tiki
  • 99,765
  • 32
  • 217
  • 249
11
votes
1 answer

How to get the request url from HttpServletRequest

Say i make a get request like this: GET http://cotnet.diggstatic.com:6000/js/loader/443/JS_Libraries,jquery|Class|analytics|lightbox|label|jquery-dom|jquery-cookie?q=hello#frag HTTP/1.0 Host: cotnet.diggstatic.com:6000 My servlet takes request like…
Gagan
  • 2,721
  • 3
  • 18
  • 6
11
votes
1 answer

disabling character escaping in Flask's url_for function

Does Flask's url_for method have an option to disable autoescaping? So if I have an endpoint called getUser with a route like this: /user/, I want to call url_for('getUser', userID='%') and have it return /user/%. Currently it will escape…
J-bob
  • 8,380
  • 11
  • 52
  • 85
11
votes
2 answers

Create sub sub domains, URL with two subdomains

If i have a site with url www.example.com, is possible to have another subdomain with the subdomain www? for example www.extra.example.com. I don't sure about this. I tried to find some information, but i don't have enough experience in that area
user1783933
  • 1,105
  • 5
  • 13
  • 23
11
votes
4 answers

Why in my WebClient DownloadFileAsync method downloading an Empty File?

I have this C# code but the final esi.zip results in 0 length or basically empty. The URL does exist and confirms to download the file manually. I am baffled buy this. string zipPath = @"C:\download\esi.zip"; Client.DownloadFileAsync(new…
heavy rocker dude
  • 2,271
  • 8
  • 33
  • 47
11
votes
7 answers

ASP.NET url MAX_PATH limit

I've found an issue with ASP.NET that I know at least has stumped one other person out there. We were trying to use an HttpModule to handle wildcard requests to a web application. The generated url is dynamic and could potentially be several…
Greg Ballard
11
votes
1 answer

Loading Rdata files from url

I'm having difficulty loading a file so that it doesn't lose its dimensions. So here is where I'm at: > mood_data <- read.table("http://www.psychology.mcmaster.ca/bennett/psy710/datasets/mood_data.Rdata") If I do this it just gives me all the…
y3trgfhsfgr
  • 467
  • 8
  • 17
11
votes
2 answers

Generate fixed length hash in python for url parameter

I am working in python on appengine. I am trying to create what is equivalent to the "v" value in the youtube url's (http://www.youtube.com/watch?v=XhMN0wlITLk) for retrieving specific entities. The datastore auto generates a key but it is way too…
LeRoy
  • 3,195
  • 4
  • 26
  • 23
11
votes
1 answer

Swift - Converting an AutoreleasingUnsafeMutablePointer value

So far I have this code: var thumbnailErr: NSError? var thumbnailDictionary: AutoreleasingUnsafeMutablePointer = nil let getItemSucceeded = url.getPromisedItemResourceValue(thumbnailDictionary, forKey: NSURLThumbnailDictionaryKey, error:…
arcticmatt
  • 1,956
  • 1
  • 19
  • 36
11
votes
5 answers

Weird characters in URL

In my webserver when user requests URLs with weird characters, I remove these characters. And system logs these cases. When I check sanitized cases I found these. I'm curious that what would be the objective of these URLs ? I check the IPs and these…
trante
  • 33,518
  • 47
  • 192
  • 272
11
votes
5 answers

Alternative to deprecated javax.servlet.http.HttpUtils.parseQueryString?

I am looking to parse a URL to obtain a collection of the querystring parameters in Java. To be clear, I need to parse a given URL(or string value of a URL object), not the URL from a servlet request. It looks as if the…
Mads Hansen
  • 63,927
  • 12
  • 112
  • 147
11
votes
2 answers

connection didReceiveData called twice while posting a Url in iphone?

I am new to iphone development.I have posted the URL with the user-name and password. I am able to print the data in "connection didReceiveData " method.But i see "connection didReceiveData" method called twice.I don't know ,where i am going…
Warrior
  • 39,156
  • 44
  • 139
  • 214
11
votes
2 answers

Modify URL components in Python 2

Is there a cleaner way to modify some parts of a URL in Python 2? For example http://foo/bar -> http://foo/yah At present, I'm doing this: import urlparse url = 'http://foo/bar' # Modify path component of URL from 'bar' to 'yah' # Use nasty…
Gareth Stockwell
  • 3,112
  • 18
  • 23
11
votes
4 answers

Regex to modify Google Drive shared file URL

I'm trying to create a script to convert a regular google drive share URL to a direct download URL. The raw URL looks like this: https://drive.google.com/file/d/FILE_ID/edit?usp=sharing and needs to be converted to look like…
Mr.Syrax
  • 396
  • 1
  • 9
  • 26
11
votes
9 answers

How To Hide url display in bottom left on mouseover?

I have a page for member's where log in is essential. On this page members get links for lectures conducted. Lectures links get added regularly. And Links to recording are fetched on this page from database and last 30 recording links are available…
1 2 3
99
100