I have seen many places that IE limits urls to 2000 or so characters in length. I can't figure out, though, does this apply to the portion after the # as well? That part isn't sent to the server so it seems like it might be different.
...
I know I've seen this done before but I can't find the information anywhere. I need to be able to route with .html extensions in the Zend Framework.
I.E. /controller/action.html should route to the appropriate controller / action.
We have an idea to throw away the .html extension with our .htaccess file but I think changing the route c...
I'm doing a windows forms application and it requires me to log every url redirect that's happening on the user's machine. Like when a user googles something and he clicked on a sponsored link, there will be a number of redirects that'll happen there and i would like to track those redirects.
Is there any listener class that I can use t...
In short, why use something like http://stackoverflow.com/badges/6/supporter instead of something "simpler" (and subjectively, at that) like http://stackoverflow.com/badges/6/.
Even on my own site I've just been using /post/6/ to reference posts (by IDs, even though I still store a slug.) Instead of /post/6/small-rant-on-urls, and in so...
I'm trying to make a regular expression that will correctly capture URLs, including ones that are wrapped in parenthesis as in (http://example.com) and spoken about on coding horror at http://www.codinghorror.com/blog/archives/001181.html
I'm currently using the following to create HTML A tags in python for links that start with http an...
Is there a library in python that works like this?
>>> resolvePath("http://www.asite.com/folder/currentpage.html", "anotherpage.html")
'http://www.asite.com/folder/anotherpage.html'
>>> resolvePath("http://www.asite.com/folder/currentpage.html", "folder2/anotherpage.html")
'http://www.asite.com/folder/folder2/anotherpage.html'
>>> resol...
I've got an AS3 SWF that I'm going to be loading other SWFs into. These child SWFs all take a single parameter on the URL. I can't seem to get it working when loading an AS2 child, and it needs to be able to handle both.
so I have
var request:URLRequest = new URLRequest();
var loader:URLLoader = new URLLoader();
request.url = "http:...
I'm currently trying to find the best way (in term of usability and performance) when dealing with a situation like fetching records tagged with a specific tag, or category, or something like that.
A good way (the way I wanted to do), would be to fetch records with the tag/category slug, so the URL would look like :
http://stackoverflo...
I need a user to be able to enter a URL, and would like to make sure it is as wholesome as possible. Things like checking that there is http:// at the front, no double-dots, perhaps valid TLD, trailing slash (I have to add the final page).
I figure this is such a common requirement that it must exist already. Suggestions?
[edit:] To b...
I have a page that is accessed via a URL like this:
http://power-coder.net/Test/something.php?id=3#Page1
I know how to access the id parameter using $_GET, however is there a way for me to access the #Page1 part? I have looked at the $_SERVER array and the REQUEST_URI ends at ?id=3.
I know that I could also change the #Page1 to be an...
In a web application that makes use of AJAX calls, I need to submit a request but add a parameter to the end of the URL, for example:
Original URL:
http://server/myapp.php?id=10
Resulting URL:
http://server/myapp.php?id=10&enabled=true
Looking for a JavaScript function which parses the URL looking at each parameter, the...
I have an enterprise application written in JAVA with JSF (using RichFaces 3.3). Currently my URL looks like this:
http://localhost/WebApplication/faces/folder1/page.jsp
Question is how do I mask my url to make it like this:
http://localhost/folder1/page.jps
Basically i want to hid "Application/faces/"
Thanks
...
Hello. I'm sending some data over AJAX to a PHP file. It's about filter options. Anyway, I am sending it like this:
filter[0][data][type] string
filter[0][data][value] automobiles
filter[0][field] product
filter[1][data][type] numeric
filter[1][data][value] 6000
filter[1][field] price
This above is taken from FireBug console. Then,...
I've seen similar questions and answers regarding conversions from virtual to absolute and url, but how can I convert a url to a virtual path without manual string parsing?
Example:
I want "http://myserver/home.aspx" converted to: "~/home.aspx"
I realize the above example would be an easy string parsing routine, but I'm looking for a...
I'd like to register a protocol handler, like "myapp:", across OS X, Linux, and Windows, so that when someone clicks a url like "myapp://some/params" in a web browser, a python script will be called and passed in those params.
Obviously this would require something being installed on each machine to enable it, but just trying to figure ...
How could I find out if a URL is available and usable to create a new site within a site collection or whether it is already in use by an other site, list or library?
Assumed that the relative URL "/newUrl/ is not yet in use, the following code won't actually throw an exception until you try to access any of the SPWeb's properties.
us...
Quite often one has to encode an big (e.g. 128 or 160 bits) number in an url. For example many web applications use md5(random()) for UUIDs.
If you need to put that value in an URL the common approach is to just encode it as an hexadecimal string.
But obviously hex encoding is not a very tight encoding. What other approaches are there...
Are URIs (specifically HTTP URLs) allowed to have a space in them? If they must be encoded, is '+' just a commonly followed convention, or a legitimate alternative? Thanks!
EDIT: Can someone point to an RFC indicating that a URL with a space must be encoded?
joe
...
Say I have a Page "foo" in wordpress such that http:/www.blah.com/foo brings it up.
Say this page has a trigger within its content such as <!-- foo --!> which is being tracked by my plugin through the add_filter('the_content', ..) filter. So, all calls to http:www.blah.com/foo and http://www.blah.com/foo?var=bar are picked up by the plu...
hi,
I am working on struts.I am encrypting password in one application and passing encrypted password to another application through open url connection.Some times this works fine if i click on the link again system is throwing "java.net.MalformedURLException: Illegal character in URL".Please help me.
...