q2a / question2answer

Question2Answer is a free and open source platform for Q&A sites, running on PHP/MySQL.
http://www.question2answer.org/
GNU General Public License v3.0
1.63k stars 627 forks source link

Allow insecure requests in file_get_contents() #952

Closed pupi1985 closed 1 year ago

svivian commented 1 year ago

I don't think this is a good idea. If people have trouble with fetching secure URLs they need to update their server rather than make insecure requests and leave themselves open to an attack. If absolutely necessary, the function can be overridden in a plugin to be insecure.