[Koha-bugs] [Bug 21009] New: Item URIs longer than 255 bytes are silently truncated

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 27 19:52:43 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21009

            Bug ID: 21009
           Summary: Item URIs longer than 255 bytes are silently truncated
 Change sponsored?: ---
           Product: Koha
           Version: 17.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Cataloging
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: paul at flo.org
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl

When creating an item in the staff client Koha does not complain if I paste in
(or type) a URI that is longer than 255 bytes.

When I save the item, the URI is silently truncated to 255 bytes.

Here's a sample URI, 500 bytes long, that you can use to reproduce the bug:

http://example.com/harumvelitiustovelitofficiaquisnihilconsecteturisteeumautempraesentiumnamplaceatexcepturiautdolorplaceatvoluptatumvoluptatibussedetquamminimailloporropossimusnecessitatibusharumdolorumvoluptasveritatisetsuntsintsedlaboretemporaquasquietvoluptasexplicabosuntautdeseruntquisestvoluptatemveroveronecessitatibusrecusandaedebitiscumquemagnialiquamvoluptatenequeconsequaturnumquamomnisdignissimosaccusantiumquoutquodutsuscipitautemquiaomnisdelenitipraesentiumenimtotamidlaborumitaqueporr

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list