Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 307531
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T07:34:01+00:00 2026-05-12T07:34:01+00:00

What is the maximum length URL? This is may be handset dependent; on a

  • 0

What is the maximum length URL?

This is may be handset dependent; on a desktop, it is definitely browser dependent, as discussed in this question.

I am interested in specifications or references as much as empirical data.

My particular usecase is passing a very long (about 1600 character) URL to a MIDlet.platformRequest(String url), which is failing. The majority of the URL (some 1575 characters) is query.

Are there any other considerations for passing very long URLs about (e.g. mobile proxies and gateways truncating the URL)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T07:34:02+00:00Added an answer on May 12, 2026 at 7:34 am

    Short answer: it depends, but probably long enough.

    Long answer, following investigation on SonyEricsson J2ME emulator (WTK 2.2.4), a K610i, and Samsung U700V.


    Empirically testing: from the emulator, the platformRequest() passes the URL straight to the desktop browser (Firefox in this case).

    http://test.example.com/?q=2048xxxxxxxxxxxxxxxxxxxxxxxxxxxx... xxxxxxxxxxxxxxxxxx2048
    

    Looking at the logs of a test server, we see we can pass through very long URLs from the emulator to the desktop to the server.

    On a device (in this case, a SonyEricsson K610i, user agent: “SonyEricssonK610i/R1CB Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1”) can handle at least a URL of at least 3072 characters (upper bound c.3800).

    On a second device Samsung U700V, user agent: “Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7 MG(Novarra-Vision/7.3)”, the lower bound for URL length was 2048, but upper bound was less than 3072. Note that this could be a problem with Novarra transcoder, which has been known to (at least) re-write user-agent strings.

    Without the Novarra transcode (switching networks), the U700V has a user agent “SAMSUNG-SGH-U700-Vodafone/BUGK1 SHP/VPP/R5 NetFront/3.4 Qtv5.3 SMM-MMS/1.2.0 profile/MIDP-2.0 configuration/CLDC-1.1”, and has a lower bound of 3072 chars.


    This effectively ends my interest in the answer to this question, as this empirical testing invalidates my theory that an upper bound on URL length is causing my problem.

    However, for completeness, I will include a potential cause of my problem:

    The URL needed to connect has at least two query parameters. The ampersands separating the queries seem to confuse the emulator.

    The emulator silently drops the second parameter.

    On the Samsung, without a second parameter, the browser connects, but the long parameter is corrupted or missing.

    On the K610i when a second parameter is used, the browser does not start properly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 238k
  • Answers 238k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Look at this link : It's using ExpressionTree : http://www.aneyfamily.com/terryandann/post/2008/04/Batch-Updates-and-Deletes-with-LINQ-to-SQL.aspx… May 13, 2026 at 6:48 am
  • Editorial Team
    Editorial Team added an answer >>> import itertools >>> map(''.join, itertools.chain(itertools.product(list1, list2), itertools.product(list2, list1))) ['squarered',… May 13, 2026 at 6:48 am
  • Editorial Team
    Editorial Team added an answer Boost has a nice InterProcess library that is cross-platform and… May 13, 2026 at 6:48 am

Related Questions

What is the maximum length of a URL for each browser? Is a maximum
What is the maximum URL length you can pass to the Wininet function, HttpOpenRequest?
What is the maximum length of a URL in apache? Where is it documented,
I am trying to understand crc32 to generate the unique url for web page.

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.