url

java.io.FileNotFoundException when retrieving a url with umlauts in the filename

I am trying to retrieve a url with an umlaut in the filename, something like "http://somesimpledomain.com/some/path/überfile.txt", but it gives me a java.io.FileNotFoundException. I suspect that the filename on the remote server is encoded in latin1, though my url is in utf8. But my tries to change the encoding of the url weren't success...

Why would you need a slash at the end of a URL?

Is there a difference between these URLs in regards to having slashes at the end of the URL? https://drchrono.com/about_us https://drchrono.com/about_us/ Do web frameworks and web servers (e.g. Apache, Nginx, Django) handle these requests differently? ...

Insert cakephp POST params into URL

Hi, I have this form below which contains two checkboxes to sort some products: <form id="FiltreExtraForm" action="" method="post" name="FiltreExtraForm"> <input id="ProductsDeliveryPrice" type="checkbox" value="1" name="data[Products][delivery_price]"/> <input id="ProductsPicture" type="checkbox" value="1" name="data[Products][pictu...

Set URL via selected jQuery tab

Further to this question - and using the same getUrlParam.js plugin. $(document).ready(function(){ var param = $(document).getUrlParam('tab'); $("#tabs").tabs(); $("#tabs").tabs('select', param); }); With this code I am able to control which tab loads on a given page e.g. blogs/?tab=tv loads the tab #tv on the /blogs/ page. However ...

What is HHOJSID URI path parameter used for?

I was testing a site with cookies disabled and I noticed HHOJSID parameter in URL path. It could be a session ID encoded in URL like jsessionid for J2EE web applications. I searched Google and found a lot of examples but no technical description. ...

how to generate url friendly in Joomla ?

Hi I have a problem with joomla 1.5 friendly url (that not so friendly actually) I am not using SEF at the moment (should i ?) heres is my problem I have some categories and sections. Each has alias. so i can check all news category for example by visiting www.myxyz.com/news/ to check an article the url that generated would become: ...

Compress/obfuscate URL to use in rewrite?

I need to add the URL of a 3rd-party website to a url, but I'd like to compress/obfuscate the host part. Are there any algorithms I can use which will hash the url, but also allow un-hashing? For example; the url is http://www.twitter.com/myusername. What I'm serving currently (as a html link) is http://mysite.net/bounce/www.twitter.com...

In click once deployment how does it support client profile?

I am making a click once installer. I checked in prerequisites the .NET 3.5 framework to be installed. Please tell me that if i install my installer in a virtual machine which does not have any .NET 3.5 framework installed then how will it proceed? I tried but when i paste the URL in the browser then it shows me the page cannot be displa...

technique for remembering url

Hello everyone, I am trying to achieve a functionality that is able to redirect a user to the URL/address to which he was trying to have access before logging in. For example: A user is trying to access a registered members only area. He is given the message that he is not logged in and redirected to the index page. How do I redire...

GWT Change URL after processing request parameters

I want to support linking with url request parameters in my GWT app. Example http://host/app?action=A&amp;p1=v1&amp;p2=v2 I am able to process the action=A & other params, but once I am done with that, I want to change the URL to remove them. The problem is that once the user comes to the webpage, for completing the "action" with para...

Commons VFS and Java.net.URL - Adding support for "sftp://" protocol

We're trying to use Apache Commons VFS to access something over SFTP. It claims to support SFTP, however we're getting a MalformedURLException when it starts. Digging around I see that apache vfs is using java.net.URL. However the documentation tells me that it doesn't actually support sftp:// URLs. Protocol handlers for the followin...

Flex application bookmarking problem/"#" at end of url

I work in an area where the business users heavily depend on bookmarks to access their work-related web applications. Our standard browser is Internet Explorer v6. We have a new Flex application - when you add the site to Internet Explorer Favorites, then later try to access the site with the Favorites link, we get the following error...

What is the regular expression to match the empty string for a rewrite rule?

I need a regular expression for a rewrite rule on iis7, I'm trying to redirect http://www.website.com to http://www.website.com/sample. But I only want the empty url string (extra points if you can figure it out with and without '/'), and I'm unsure how to create a rewrite rule to match to that. Can someone help me out here? ...

jQuery to take url with variables from a link and send it via Ajax

Hello, I can add a product to cart via GET with this link: <div id="add"><a id="add-link" href="http://localhost/catalog/cart?product_id=8&amp;boutique_id[]=36&amp;func=Module::Cart-&gt;add"&gt;Add to Cart</a></div> I want to use jQuery Ajax to stay on the same page (if JS is enabled). I have crapped out the following, but of course...

combine multiple GET values with same variable name into one string

I have a form which sends lots of GET['var'] in a form. Ive worked out how to set it to send var[1]=data&var[2]=some&var[3]=thing etc etc but how do I catch each variable and combine it into one string, seperated with a ", "? so $var = data, some, thing UPDATE: Sorry I should of mentioned I already have the function that implodes t...

URL Description and Thumbnail API

Does anyone know of an API that will return the description of a URL and a thumbnail image from that URL? What i'm looking for is something similar to what facebook does where you paste in a link and it returns the page title, description and image. I was hoping one of the URL shortening services did this, or even digg, but so far no...

how do i hide var passing info in the url if i have no form tags?

Hey guys - im using var passing links like this to jump around a site... <a href = "index.php?content=about.html"> ...problem is, i have all the ugly var info visible in the url. I would usually hide it by using the post method, but i dont have any form tags, so is it even possible? Thanks!!!!!!! ...

Uppercase and lowercase urls in PHP

I have created folders in my root example: http://www.zipholidays.co.uk/Cuba or http://www.zipholidays.co.uk/Florida When I type http://www.zipholidays.co.uk/cuba (Cube in lowercase), it shows page not found. I'm using Apache server. People are linking to pages with lowercase, uppercase, mixed case - whatever. What do I do to make the...

How to generate seo friendly url's with php?

Hi, I want to make http://mysite.com/id255/ to http://mysite.com/gora-beach-inn/. My php looks like: $result = mysql_query(" SELECT id, header FROM Article "); while($data = mysql_fetch_assoc($result)){ mysql_query(" UPDATE Article SET seo = '".MakeSeo($data['header'])."' WHERE datum = '".$data['datum']."...

How can I get browsers other than IE to accept file urls?

It is not uncommon for our intranet web applications to link to publications, documents, or other resources from our shared network file servers. In the past, we've had little trouble fashioning links such as the following: file://fileserver1/folderofgoodies/rules.pdf \\fileserver1\folderofgoodies\rules.pdf The reason we had no troub...