url

Android - Need help opening a url in the phone's default browser

I'm trying to make test-program that opens a website by pushing a button. I have made a listener and everything, my problem is just that, the url-opening-script makes an error and tells me "Uri cannot be resolved". Here's the script I use to open up an webpage: Intent browserIntent = new Intent("android.intent.action.VIEW",Uri.parse("ht...

ASP.NET MVC Routing - Pass inbound route value to outbound URLs automatically?

I have an ASP.NET MVC application with an Admin area that deals with administering Companies and their child entities, such as Users and Products. The default route associated with a child entity is defined as follows: "Admin/Company/{companyID}/{controller}/{id}/{action}" I would like to ensure that, everywhere in the Admin area, whe...

Does the 2k length limit for URLs on IE still exist for IE 7 and IE 8?

Does the 2k length limit for URLs on IE still exist for IE 7 and IE 8? (the post IE 6 era) ...

URL cannot be more than 2k in length for IE, but what about ajax URL and does it include hash in URL?

When IE does Ajax, does the 2k length limit still apply for URL? (or is it only for the URL on the address bar) What about URL with the hash portion together exceeding 2k but without the hash, it is less than 2k? ...

Any apps (such as IE) that goes through Wininet has the 2k length limit on URL -- what about other browsers?

Any apps (such as IE) that goes through Wininet has the 2k length limit on URL -- what about other browsers -- none of Firefox, Chrome, Safari, Opera go through Wininet? ...

Determining number of sites on a website in python

Dear Pythonistas, I have the following link: http://www.europarl.europa.eu/sides/getDoc.do?type=REPORT&mode=XML&reference=A7-2010-0001&language=EN the reference part of the url has the following information: A7 == The parliament (current is the seventh parliament, the former is A6 and so forth) 2010 == year 0001 == docu...

WCF REST - Handle / in Get request

How can i pass / character in a rest request ? for example i have products with code like this CAB1/8TO1/8-25 and my rest url is like this "items/{code}" Is there any way of handling this with a GET request? Thanks ...

URL charset encoding google vs yahoo

What's the best way to manage i18n urls? It's strange because google and facebook encode utf8 ex. search ★。SмAck%2BтнAт。★ on google while yahoo doesn't do it. ex. search ★。SмAck%2BтнAт。★ on yahoo How do u manage utf8 urls and which libs do u use? -- edit I tried on Firefox and the behavior is the same, so the question is: Do you have ...

Why we don't use such URL formats?

I am reworking on the URL formats of my project. The basic format of our search URLs is this:- www.projectname/module/search/<search keyword>/<exam filter>/<subject filter>/... other params ... On searching with no search keyword and exam filter, the URL will be :- www.projectname/module/search///<subject filter>/... other params ......

Drupal url which contans "http://" does not work, shows 404

I have a Drigg site. (Based on Drupal) which has been working well, but suddenly it stopped working for one case. As this is a Digg clone, the site has a SUBMIT page (which contains url/title/description forms). This submit page works like this http://example.com/submit?url=http://etc.com&amp;title=blabla which fills url and title f...

How can i code and decode urls from IDN in php?

Hi, im doing a site to check, register, etc of domains, i have to make it IDN compliant. Right now i have something like this: echo $domain; $domain = idn_to_ascii($domain); echo $domain; $domain = idn_to_utf8($domain); echo $domain; and im getting this: testing123ásd123 xn--testing123sd123-wjb testing123ĂĄsd123 as you can se...

Locales as part of the URL in Spring MVC

Hello! I'm now looking for a framework for multilingual web-applications. At the moment it seems to me that the best choice is Spring MVC. But I faced the fact that all the guidelines for developers suggests to switch languages using LocaleChangeInterceptor in such way: http://www.somesite.com/action/?locale=en Unfortunately, there ar...

C# URL Routing Issue

So I have an interesting problem here. I am using URL Routing to mask the URL but I want to take the spaces out. For example: /sanjuan/ but in the database it's San Juan. An error is thrown when I type it in because clearly theres a space in the DB. I don't want it conjoined in the DB though. How can I accomplish this. I just need som...

URL GET request formatted as a deep link

I'm wondering how data passed to the URL can be "camouflaged" as a deep link. Here is an example of a site that does this: http://www.conradit.no/ I actually developed that site, but paths have been changed later. So I have seen sites that does this even without referencing the index page (e.g. www.sometime.com/get/data/camouflaged) I...

Need a simple Regular Expression

Hi Guys I don't understand Regular Expressions that well. I need an expression that will only accept: numbers normal letters (no special characters) - spaces are not allowed either. Example: The regular expression should match: this-is-quite-alright It should not match this -is/not,soålright ...

Return to previous page after login

Oi! I have wanted a returntosamepageafterlogin-feature on my site for a long time. But whats the best way? I was thinking about saving the url into a session and when he/she logins, i check if the returnto-session if set, if it is, i redirect to that page Is that safe/good? ...

How Do I Encode a String in Base36 in PHP?

I have learned how to Base16 encode a string in PHP, but how do I Base36 encode and decode a string in PHP? Note I need this to make the string work in URLs. BONUS: And if you know how to compress the string slightly first before doing the Base36, that would be even cooler! :) ...

How to copy a image file in Qt?

I need to copy a number of image files from a given location to a given directory, i need the original filename preserved. can it be something like url->copy(img14, ImgPath); where img14 is the path to the file including the filename and the imgpath is the destination directory. img14 can be : /home/obscurant1st/Downloads/aaa.jpeg or...

Unable to allow these characters in URL:- % / \ # +

About the system I have URLs of this format in my project:- http://project_name/browse_by_exam/type/tutor_search/keyword/class/new_search/1/search_exam/0/search_subject/0 Where keyword/class pair means search with "class" keyword. Following is my htaccess file:- ##AddHandler application/x-httpd-php5 .php Options Includes +ExecCGI ...

Launching an iphone app from custom URL in sms

I have a problem with launching my app from url in sms. When I open my safary and type "myapp://" it opens my application, but somehow iphone sms parser can't recognize my url in the body of the message. I tried: myapp://something myapp:something <myapp://something> and still the URL in sms message is not clickable. I have config...