tagged [url]

Is there a way to pass javascript variables in url?

Is there a way to pass javascript variables in url? Is there a way to make the below script pass the javascript values to the url of the href link? ``` function geoPreview(lat,long) { var elemA = docu...

25 Jul at 16:46

urlencoded Forward slash is breaking URL

urlencoded Forward slash is breaking URL I have URLs of this format in my project:- Where keyword/class pair means search with "class" keyword. I have a common index.php file which executes for every ...

Parse an URL in JavaScript

Parse an URL in JavaScript How do I parse an URL with JavaScript (also with jQuery)? For instance I have this in my string, I want to get the value of `img_id` I know I can do this easily with PHP wit...

12 Nov at 10:31

Slashes in a query string parameter?

Slashes in a query string parameter? How can I send a file path as a query string parameter? This is my string parameter: > //domain/documents/Pdf/1234.pdf I have tried that: But this is not working, ...

9 May at 15:37

Why my coreWebView2 which is object of webView2 is null?

Why my coreWebView2 which is object of webView2 is null? I am creating a object of Microsoft.Web.WebView2.WinForm.WebView2 but the sub obect of this coreWebView2 is null ``` Microsoft.Web.WebView2.Win...

Is there any way to specify a suggested filename when using data: URI?

Is there any way to specify a suggested filename when using data: URI? If for example you follow the link: `data:application/octet-stream;base64,SGVsbG8=` The browser will prompt you to download a fil...

9 Mar at 15:13

Remove all special characters from a string

Remove all special characters from a string I am facing an issue with URLs, I want to be able to convert titles that could contain anything and have them stripped of all special characters so they onl...

23 May at 11:55

How to URL encode strings in C#

How to URL encode strings in C# How can we encode a string using the URL (RFC 1738) standard in C#? The following online tool is converting the strings using this standard [http://www.freeformatter.co...

25 May at 13:49

How to lazy load images in ListView in Android

How to lazy load images in ListView in Android I am using a `ListView` to display some images and captions associated with those images. I am getting the images from the Internet. Is there a way to la...

How to get full host name + port number in Application_Start of Global.aspx?

How to get full host name + port number in Application_Start of Global.aspx? I tried and it worked well on my local machine, but when being published to IIS7, there is an exception saying A

22 Nov at 07:36

ServiceStack routing GET requests to POST methods

ServiceStack routing GET requests to POST methods I have been having an issue with Uri too long for a number of GET requests we currently have and our proposed solution is to issue post requests inste...

4 Dec at 16:25

Path.Combine for URLs?

Path.Combine for URLs? [Path.Combine](https://msdn.microsoft.com/en-us/library/system.io.path.combine%28v=vs.110%29.aspx) is handy, but is there a similar function in the .NET framework for [URLs](htt...

3 Feb at 15:1

How to remove any URL within a string in Python

How to remove any URL within a string in Python I want to remove all URLs inside a string (replace them with "") I searched around but couldn't really find what I want. Example: I want the result to b...

4 Jul at 15:30

Detecting image URL in C#/.NET

Detecting image URL in C#/.NET Is there a way I can detect an image URL, like: but with other formats as well? I am using C# with .NET 4.0. Something like I meant if the URL points to an image. Eg, th...

18 Jun at 12:32

Absolute URL from base + relative URL in C#

Absolute URL from base + relative URL in C# I have a base URL : And a relative one : How to get the absolute URL from this ? It's pretty straighforward using string manipulation, but I would like to d...

19 Aug at 10:38

present a static page url as different url which is SEO friendly

present a static page url as different url which is SEO friendly I have developed a site, which has some static pages. Like explore, home, feedback. The link for these goes as follows website.com/view...

4 Jul at 15:11

How to check whether a string is a valid HTTP URL?

How to check whether a string is a valid HTTP URL? There are the [Uri.IsWellFormedUriString](https://msdn.microsoft.com/en-us/library/system.uri.iswellformeduristring(v=vs.110).aspx) and [Uri.TryCreat...

16 Oct at 13:37

Get only filename from url in php without any variable values which exist in the url

Get only filename from url in php without any variable values which exist in the url I want to get filename without any `$_GET` variable values from a URL in php? My URL is `http://learner.com/learnin...

27 Feb at 07:30

Read url to string in few lines of java code

Read url to string in few lines of java code I'm trying to find Java's equivalent to Groovy's: I want to read content from a URL into string. I don't want to pollute my code with buffered streams and ...

30 May at 19:26

CodeIgniter -> Get current URL relative to base url

CodeIgniter -> Get current URL relative to base url Tried [URI::uri_string()](http://codeigniter.com/user_guide/libraries/uri.html) but can't get it to work with the base_url. URL: `http://localhost/d...

3 Sep at 13:36

What's the REST URL syntax for passing a nested complex type?

What's the REST URL syntax for passing a nested complex type? What's the URL syntax for passing an object with a nested object to my ASP.NET Web API GET method? Is this possible? `http://mydomain/myco...

20 Dec at 21:35

Characters allowed in a URL

Characters allowed in a URL Does anyone know the full list of characters that can be used within a GET without being encoded? At the moment I am using A-Z a-z and 0-9... but I am looking to find out t...

6 Dec at 22:10

Using the GET parameter of a URL in JavaScript

Using the GET parameter of a URL in JavaScript If I am on a page such as [http://somesite.com/somepage.php?param1=asdf](http://somesite.com/somepage.php?param1=asdf) In the JavaScript of that page, I ...

16 Jul at 16:40

An URL to a Windows shared folder

An URL to a Windows shared folder Is there a way to incorporate a link to a Windows shared folder into an HTML page? E.g. a link to `\\server\folder\path`? For simplicity, let's say the page will be o...

8 Aug at 07:9

Extracting a URL in Python

Extracting a URL in Python In regards to: [Find Hyperlinks in Text using Python (twitter related)](https://stackoverflow.com/questions/720113/find-hyperlinks-in-text-using-python-twitter-related) How ...

23 May at 11:47