Skip to content

Commit

Permalink
Add https support for scribd oembed provider (#739)
Browse files Browse the repository at this point in the history
Currently scribd defaults to https for their sharing links - http still works but if you copy&paste quickly you may think it's broken
  • Loading branch information
math-a3k authored and gasman committed Jul 25, 2019
1 parent 1468cab commit 1a2bf52
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Changelog
* Added `construct_page_listing_buttons` hook (Michael van Tellingen)
* Added more detailed documentation and troubleshooting for installing OpenCV for feature detection (Daniele Procida)
* Fix: Added line breaks to long filenames on multiple image / document uploader (Kevin Howbrook)
* Fix: Added https support for Scribd oEmbed provider (Rodrigo)


2.6 (xx.xx.xxxx) - IN DEVELOPMENT
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ Contributors
* jonny5532
* William Blackie
* Andrew Miller
* Rodrigo

Translators
===========
Expand Down
1 change: 1 addition & 0 deletions docs/releases/2.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Bug fixes
~~~~~~~~~

* Added line breaks to long filenames on multiple image / document uploader (Kevin Howbrook)
* Added https support for Scribd oEmbed provider (Rodrigo)


Upgrade considerations
Expand Down
2 changes: 1 addition & 1 deletion wagtail/embeds/oembed_providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
scribd = {
"endpoint": "http://www.scribd.com/services/oembed",
"urls": [
r'^http://[-\w]+\.scribd\.com/.+$',
r'^http(?:s)?://[-\w]+\.scribd\.com/.+$',
],
}

Expand Down

0 comments on commit 1a2bf52

Please sign in to comment.