You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2013/09/24 20:52:23 UTC

[Bug 121343] Writer does not properly format hyperlink text on page

https://issues.apache.org/ooo/show_bug.cgi?id=121343

Andrew_M_Freyman@Progressive.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Andrew_M_Freyman@Progressiv
                   |                            |e.com

--- Comment #4 from Andrew_M_Freyman@Progressive.com ---
Created attachment 81626
  --> https://issues.apache.org/ooo/attachment.cgi?id=81626&action=edit
Source document with 65527 characters used for testing

I was able to reproduce this issue in certain scenarios.

OpenOffice.org Writer 3.4.1
AOO341m1(Build:9593) - Rev. 1372282
Windows 7 Home Premium, Service Pack 1

1. Open Writer blank document
2. Click Hyperlink button on toolbar or click Insert-->Hyperlink from menu
3. Delete any value or whitespace in Target text box if there is any
4. Copy Target value from source document (my source document is attached, I
used this document to change the Target value for the scenarios listed below)
5. Paste [value] into Target field (actual values I used listed below)
6. The Target text box shows as blank white, but the cursor location being at
the end of the text box and ability to arrow left and right within the text box
indicate that some value has been pasted.
7. Click Apply

When the issue is reproduced, the program appears to do nothing and continues
to display the Hyperlink box, so attaching a document that "doesn't work" is
the same as attaching a blank document.  Values that reproduced the issue (to
be used in step 5 above):

1. 65527 character string of the repeating letter 'a'
- Confirmed that repeating 'a' string of 65526 characters works as expected,
although it does add a forward slash on the end, something it doesn't seem to
do for scenarios 4 and 5 below [attached]
2. aaa-aaaaaaaaa... (same as #1 except fourth character is a dash)
3. aaa.aaaaaaaaa... (same as #1 except fourth character is a period)

Values that did not reproduce the issue:

4. www.test.com/aaaaaa... ('a' is repeating to fill up 65527 total characters)
- Result as expected:  Link reading http://www.test.com/aaaaaa...
5. aaa/aaaaaaaaa... (same as #1 except fourth character is a forward slash)
- Result as expected:  Link reading http://aaa/aaaaaaaaa...

Value that produced a different issue:

6. aaa?aaaaaaaaa... (fourth character is a question mark) [attached]
- Result missing the 'http://': Link reading aaa?aaaaaaaa...

While the HTTP protocol does not place a limit on the length of a URI
(http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html), there are many reasons
why the majority of web URLs are not likely to be this lengthy, here’s a few
(http://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers): 

1. Search giant Google will not index URLs over 2047 characters, and
technically only 1855 characters results in a URL that works in Google search
results (research from 2010)
2. Internet Explorer 10’s address bar will only accept and display 2083
characters, although you can still click a URL that is longer.
3. Servers and browsers have the ability to limit the acceptable length of the
URL

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