hypothesis / hypothesis/bouncer
URL truncation looks bad when it truncates after a .
- Dominant language
- Python
- Stars
- 58
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
For example given the URL `https://blackboard.american.edu/bbcswebdav/pid-3280529-dt-content-rid-11942183_1/courses/WRTG-101-017-034-050-2016S/PerlemanLes_InformationIlliteracy.pdf` the redirecting message will be `Loading annotations for`https://blackboard.american....`. The `.` followed by the `…` looks like four dots in a row.
Suggested solution: after truncating the string remove any trailing dots before appending the ellipsis?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the redirecting message and the URL truncation logic, then reproduce the example with its trailing period. Done means truncated URLs no longer retain trailing dots immediately before the ellipsis, with the existing behavior preserved for other URLs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100