RichEmbed setURL has incorrect logic #7

Closed
opened 2020-05-17 20:44:29 -04:00 by Bsian · 5 comments
Bsian commented 2020-05-17 20:44:29 -04:00 (Migrated from gitlab.libraryofcode.org)

BUG REPORT

Brief Description: RichEmbed#setURL has incorrect logic when checking if URL starts with http(s). It should be if (!url.startsWith('http://') && !url.startsWith('https://')). i.e. && instead of ||

Priority: (1-5, 5 being the most urgent) 1

# BUG REPORT **Brief Description:** RichEmbed#setURL has incorrect logic when checking if URL starts with http(s). It should be `if (!url.startsWith('http://') && !url.startsWith('https://'))`. i.e. `&&` instead of `||` **Priority:** (1-5, 5 being the most urgent) 1
matthew commented 2020-05-17 22:00:07 -04:00 (Migrated from gitlab.libraryofcode.org)

mentioned in commit 9e88445bbf

mentioned in commit 9e88445bbf1d6c77a6163e7c272eb3c087f85960
matthew commented 2020-05-17 22:00:54 -04:00 (Migrated from gitlab.libraryofcode.org)

assigned to @matthew

assigned to @matthew
matthew commented 2020-05-17 22:00:56 -04:00 (Migrated from gitlab.libraryofcode.org)

Fixed by 9e8844

Fixed by 9e8844
matthew commented 2020-05-17 22:00:57 -04:00 (Migrated from gitlab.libraryofcode.org)

closed

closed
matthew commented 2020-07-28 14:29:20 -04:00 (Migrated from gitlab.libraryofcode.org)

mentioned in commit ef31fc3abc

mentioned in commit ef31fc3abc62b7b5551bb4328af266a1a4595222
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: engineering/community-relations#7
There is no content yet.