What's the Maximum URL length in Firefox

Discussion of general topics about Mozilla Firefox
Post Reply
klane3162
Posts: 3
Joined: September 26th, 2005, 7:04 am

What's the Maximum URL length in Firefox

Post by klane3162 »

Can someone please tell me what the maximum URL length is in Firefox. Based on the following link, IE has set this max to 2083.

http://support.microsoft.com/kb/q208427/
JaredM
Posts: 3826
Joined: November 14th, 2004, 4:41 am
Location: Alberta, Canada
Contact:

Post by JaredM »

I thought that Browsers are required to support an indefinite length.
I'm moving to Theory, everything works there.
Most issues are solved by going through the Standard Diagnostic
klane3162
Posts: 3
Joined: September 26th, 2005, 7:04 am

Post by klane3162 »

It appears that Microsoft has created this limitation in the browser and possibly email end of things. When I attempt to click on the mailto link in Firefox that is longer than 2083 characters does nothing. I'm guessing that's part of the limitation expressed in the reading of the URL link by Outlook. I can paste the 200+ emails into Outlook, or any other client and it will go just fine.
Racer
Posts: 6108
Joined: November 18th, 2002, 11:07 am

Post by Racer »

I tested a 33,000 character URL (long URI) and it worked fine in Firefox 1.5b1 (with Apache Tomcat as the server). All of the data was sent to the server correctly. It could probably go much higher.

As a side note, I found out that IIS 5 only supports around 11,500 character URLs.

Heh, here's the link, if you have Tomcat installed. 33,000 character URL
old FatJohn
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post by old FatJohn »

:x-mas: Show off! ;)
User avatar
jqp
Posts: 5070
Joined: November 17th, 2004, 10:56 am
Location: In a box
Contact:

Post by jqp »

Firefox supposedly supports a URL length up to 2 GIGAbytes. I don't dare you to test that, though.
klane3162
Posts: 3
Joined: September 26th, 2005, 7:04 am

Post by klane3162 »

I'm beginning to think this is more of an email client limitation. I installed thunderbird, and tried making it my preferred email client, and it won't spawn a new mail message window when the number of characters in the email link exceeds 2083 characters. It appears that normal URL's work find at excessive lengths
User avatar
sciguyryan
Folder@Home
Posts: 2181
Joined: November 10th, 2004, 1:33 pm
Location: Wales

Post by sciguyryan »

jonnyq wrote:Firefox supposedly supports a URL length up to 2 GIGAbytes. I don't dare you to test that, though.


You'd be pretty hard pressed to ever see a normal URL that big. Some of the giggest I have seen are places like E-bay when doing searches and the like :)

Cheers,

Ryan Jones
Cheers!

Ryan Jones
User avatar
jqp
Posts: 5070
Joined: November 17th, 2004, 10:56 am
Location: In a box
Contact:

Post by jqp »

data URIs are URL's that contain the actual data in the URI itself. A data URI can contain an image or an HTML page or pretty much anything else. Here's one:
<a href="data:text/html;charset=utf-8,%3C!DOCTYPE%20HTML%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20HTML%204.0%2F%2FEN%22%3E%0D%0A%3Chtml%20lang%3D%22en%22%3E%0D%0A%20%3Chead%3E%0D%0A%20%20%3Ctitle%3ETest%3C%2Ftitle%3E%0D%0A%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%0D%0A%20%20%3C%2Fstyle%3E%0D%0A%20%3C%2Fhead%3E%0D%0A%20%3Cbody%3E%0D%0A%20%20%3Cp%3Etest%3C%2Fp%3E%0D%0A%20%3C%2Fbody%3E%0D%0A%3C%2Fhtml%3E%0D%0A">This is a test</a>

Data URI's are an example of a case where the length of a URI can get very large, but Mozilla is the only browser that supports URIs larger than a few kilobytes. IE doesn't support the data: URI at all.

I got that 2GB number from here:
http://simon.incutio.com/archive/2003/0 ... d#comment4
User avatar
sciguyryan
Folder@Home
Posts: 2181
Joined: November 10th, 2004, 1:33 pm
Location: Wales

Post by sciguyryan »

jonnyq wrote:data URIs are URL's that contain the actual data in the URI itself. A data URI can contain an image or an HTML page or pretty much anything else. Here's one:
<a href="data:text/html;charset=utf-8,%3C!DOCTYPE%20HTML%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20HTML%204.0%2F%2FEN%22%3E%0D%0A%3Chtml%20lang%3D%22en%22%3E%0D%0A%20%3Chead%3E%0D%0A%20%20%3Ctitle%3ETest%3C%2Ftitle%3E%0D%0A%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%0D%0A%20%20%3C%2Fstyle%3E%0D%0A%20%3C%2Fhead%3E%0D%0A%20%3Cbody%3E%0D%0A%20%20%3Cp%3Etest%3C%2Fp%3E%0D%0A%20%3C%2Fbody%3E%0D%0A%3C%2Fhtml%3E%0D%0A">This is a test</a>

Data URI's are an example of a case where the length of a URI can get very large, but Mozilla is the only browser that supports URIs larger than a few kilobytes. IE doesn't support the data: URI at all.

I got that 2GB number from here:
http://simon.incutio.com/archive/2003/0 ... d#comment4


Thats fun, I could have some great fun making websites form one link.... (Joke although it would be a lot of fun).

Anyway, I can't even start to imagine a 2 Gigabyte sized URL, but its pretty impressive if Firefox can support that much.

Cheers and thanks for the information,

Ryan Jones
Cheers!

Ryan Jones
Post Reply