#27 Handling of long Bookmarks >255 char

BKM 4-pre
Code (29)

Hi, it's me again.

Found another bug, which is halfway solved.

As already mentioned in Bug 563253 there is a problem
with URLs longer than 255 chars.

It may have not been noticed so often but BKM did
shorten all the old bookmarks to a length <255 chars.

Especially the IE import is doing this.
Cause is the definition in modApi.bas of the
GetPrivateProfileString function.

The Problem is caused by RFC2616 which does not
define how long an URL can be. (Q208427 does give a
limit of 2083 chars)

The attempt to resolve the problem was to change the
database file to use a memo field. This is not bad but
since I did use a BKM file created in BKM3 there was
no conversion done to the new Database.

So now there are two results:

Fetching a new bookmark in BKM 4 through STRG+N
does result in an error when an old BKM3 file is
opened. Using a new BKM4 file does not bring the error.
The URLs may still be shortend by import functions.

Please take also a look at the feature requests.


  • Olaf Brodtmann

    Olaf Brodtmann - 2002-08-31

    TEST URL (Germany Arbeitsamt)

  • Patrice Neff

    Patrice Neff - 2002-09-03
    • milestone: --> BKM 4-pre
    • priority: 5 --> 7
    • assigned_to: nobody --> patricech
    • status: open --> open-accepted
  • Patrice Neff

    Patrice Neff - 2002-09-03

    Logged In: YES

    Thank you for thsi report. I have now fixed most of the
    problems in CVS as far as I can see. But thanks to your
    sample URL I have seen that there are problems with calling
    the browsers. I'll have to check if I can fix this.

  • Patrice Neff

    Patrice Neff - 2002-11-26
    • status: open-accepted --> closed-accepted
  • Patrice Neff

    Patrice Neff - 2002-11-26

    Logged In: YES

    Passing the URL to DDE did not work out. I found some
    specification in groups.google to work around the DDE
    limitation of 255 characters.

    So I switch this bug to pending.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks