Google Apps Block unable to parse URL to google drive folder
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Lisa Seeto | ||
19.04 |
Fix Released
|
High
|
Unassigned | ||
19.10 |
Fix Released
|
High
|
Unassigned | ||
20.04 |
Fix Released
|
High
|
Unassigned | ||
20.10 |
Fix Released
|
High
|
Lisa Seeto |
Bug Description
Google Drive URLs aren't parsed correctly any more and don't display the Google Drive folder icon (or whatever needs to be displayed).
For example, the folder https:/
"Unable to parse embedded code or URL: https:/
To replicate:
1. Log in and create a page and select to create a "Google Apps" block
2. In the "Embed code or URL" put the above url and save the block.
Expected results:
The block displays with icon etc... correctly
Actual results:
The block displays with "Unable to parse embedded code or URL: https:/
Our regex is failing to parse this pattern and we'll need to add to it while keeping any necessary previous patterns for backwards compatibility.
Changed in mahara: | |
importance: | Undecided → High |
Changed in mahara: | |
milestone: | 20.10.0 → none |
Patch for "master" branch: https:/ /reviews. mahara. org/11177