Opened 9 years ago
Closed 8 years ago
#41052 closed defect (bug) (fixed)
Need validation update in video widget
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.9 | Priority: | high |
| Severity: | normal | Version: | 4.8 |
| Component: | Widgets | Keywords: | has-patch needs-testing |
| Focuses: | ui, javascript | Cc: |
Description
Without Validation not insert video widget content.
When i have insert just text not validate this one.
Attachments (7)
Change History (18)
#2
@
9 years ago
- Resolution set to invalid
- Status changed from new to closed
Same issue with image and audio widget also. please mark this one.
#3
@
9 years ago
@ravipatel I don't think we should be accepting invalid URLs though. It should have the required extension or be a valid oEmbed. So is this not valid?
This ticket was mentioned in Slack in #core by jeffpaul. View the logs.
9 years ago
#7
@
8 years ago
- Keywords has-patch added; needs-patch removed
Directly relates to #34115 which will impact how we handle arbitrary URLs for video embeds. We'll use the oEmbed response then to validate URLs that don't match the supplied pattern.
#9
@
8 years ago
- Priority changed from normal to high
Bumping priority to high for visibility and alignment with 4.9 goals, and given proximity to beta 1 deadline.
#10
@
8 years ago
@gk.loveweb I iterated on your patch a bit and I think I came to something that works better in 41052.4.diff. Would you give it a try? By moving the logic to updateoEmbed we can short-circuit the fetch logic earlier, since updateoEmbed is what calls fetch to begin with.
The audio widget needs some more work, I believe. For one it doesn't support oEmbeds at all currently.
@timmydcrawford This seems to relate to #40935.