Timeline for How to make Drupal 8 use only relative URLs?
Current License: CC BY-SA 3.0
20 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 29, 2017 at 20:19 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Apr 13, 2017 at 12:46 | history | edited | CommunityBot |
replaced http://drupal.stackexchange.com/ with https://drupal.stackexchange.com/
|
|
Mar 30, 2017 at 14:43 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Feb 17, 2017 at 4:58 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 28, 2016 at 1:24 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Nov 23, 2016 at 19:36 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Oct 17, 2016 at 5:33 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Sep 16, 2016 at 18:31 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Aug 23, 2016 at 8:11 | history | tweeted | twitter.com/StackDrupal/status/767997656979439616 | ||
Aug 15, 2016 at 5:59 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jul 11, 2016 at 10:35 | answer | added | pbonnefoi | timeline score: 2 | |
Mar 4, 2016 at 23:33 | history | edited | jhedstrom | CC BY-SA 3.0 |
Moving note that Drupal 8.0.3 and beyond do this by default
|
Mar 4, 2016 at 16:13 | history | edited | RaisinBranCrunch | CC BY-SA 3.0 |
added 118 characters in body
|
Dec 4, 2015 at 21:43 | history | edited | RaisinBranCrunch | CC BY-SA 3.0 |
Changed question name, added details
|
Dec 3, 2015 at 15:50 | history | edited | RaisinBranCrunch | CC BY-SA 3.0 |
added more info about the error
|
Dec 3, 2015 at 15:24 | comment | added | RaisinBranCrunch | The form is already correct, actually. The uri that comes into my hook is already formatted correctly, but for absolute URLs. When $uri is saved at the end of my function, it is in relative format, but for some reason this doesn't work in some situations. I believe it's because file_create_url is called in too many unrelated scenarios. I'll update my question with more info. | |
Dec 2, 2015 at 20:59 | comment | added | Eyal | You should handle that on the Form layer and convert the url to the drupal standard before validation/submission. | |
Dec 2, 2015 at 18:02 | comment | added | RaisinBranCrunch | Thanks, Clive. Since your comment I've tried returning public:// for public files, and this allows me to create nodes with files, but it stops my URLs from being relative. If I could just figure out which scenarios require public:// and which don't... I'll keep experimenting. | |
Dec 2, 2015 at 17:24 | comment | added | Clive♦ |
The resulting URI needs to be public://field/image/h.jpg if that helps
|
|
Dec 2, 2015 at 17:21 | history | asked | RaisinBranCrunch | CC BY-SA 3.0 |