jasonrogena / jasonrogena/php-excel-reader

Links for URLs are missing the last character

Open
#81 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
PHP
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
What steps will reproduce the problem?
1. Create a spreadsheet in which the cell is a URL, http://foo.bar.com/one/two
2. Run php-excel-reader

What is the expected output? What do you see instead?
In the HTML, the URL displays properly, but it links to
http://foo.bar.com/one/tw (notice the last letter is missing)

Please provide any additional information below.
My guess is function _encodeUTF16() is at fault.
```

Original issue reported on code.google.com by `d...@cimpress.com` on 9 Jul 2010 at 4:41

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with a spreadsheet cell containing http://foo.bar.com/one/two and inspect the generated HTML link. Start by reading _encodeUTF16(), which the report identifies as a possible source of the truncation. Done means the displayed URL and its link target both retain the final character.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.