Top "Uri" questions

A Uniform Resource Identifier (or URI) is a string of characters used to identify a name or resource.

Get current URL/URI without some of $_GET variables

How, in Yii, to get the current page's URL. For example: http://www.yoursite.com/your_yii_application/?lg=pl&…

php frameworks uri yii current-page
Get individual query parameters from Uri

I have a uri string like: http://example.com/file?a=1&b=2&c=string%20param Is there an …

c# .net uri
How do I pass a datetime value as a URI parameter in asp.net mvc?

I need to have an action parameter that has a datetime value? Is there a standard way to do this? …

asp.net-mvc datetime uri
Is it valid to replace http:// with // in a <script src="http://...">?

I have the following element: <script type="text/javascript" src="https://cdn.example.com/js_file.js"></…

html http https uri protocol-relative
How to extract URL parameters from a URL with Ruby or Rails?

I have some URLs, like http://www.example.com/something?param1=value1&param2=value2&param3=value3 and I …

ruby-on-rails ruby uri url-parameters
How to deal with the URISyntaxException

I got this error message : java.net.URISyntaxException: Illegal character in query at index 31: http://finance.yahoo.com/q/h?…

java uri
Converting of Uri to String

Is it possible to convert an Uri to String and vice versa? Because I want to get the the Uri …

android string uri
Android: how to parse URL String with spaces to URI object?

I have a string representing an URL containing spaces and want to convert it to an URI object. If I …

java android url uri httprequest
How do I delete files programmatically on Android?

I'm on 4.4.2, trying to delete a file (image) via uri. Here's my code: File file = new File(uri.getPath()); boolean …

java android file uri delete-file
How to get the file path from URI?

Please find my code below. I need to get the file path of the pdf document, selected by the user …

android pdf uri filepath