<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ke_takahashi</author_name>
  <author_url>https://blog.hatena.ne.jp/ke_takahashi/</author_url>
  <blog_title>memorandums</blog_title>
  <blog_url>https://memorandums.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>上記の通り、研究室のサーバーでmoodleを立ち上げてみました。で、学生から提出された課題を開くとなぜかダウンロードされてしまいます。これは不要なファイルを開いて悪意あるコードを実行させないための配慮のようですがソースを修正することでその場（ブラウザ内）で開くように変更できます。一応、メモとして記録しておきます。★moodle_top/mod/assign/submission/file/lib.phpの７０行目（修正前） send_stored_file($file, 0, 0, true); // download MUST be forced - security!（修正後） send_…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemorandums.hatenablog.com%2Fentry%2F20121031%2F1351656799&quot; title=&quot;学生から提出された課題（PDF）をダウンロードせずその場で開く方法 - memorandums&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-10-31 13:13:19</published>
  <title>学生から提出された課題（PDF）をダウンロードせずその場で開く方法</title>
  <type>rich</type>
  <url>https://memorandums.hatenablog.com/entry/20121031/1351656799</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
