Projects STRLCPY opencti Commits ef4397fb
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■ ■
    opencti-platform/opencti-front/src/private/components/data/feeds/FeedCreation.js
    skipped 337 lines
    338 338   'IPv4-Addr',
    339 339   'IPv6-Addr',
    340 340   'Domain-Name',
     341 + 'Hostname',
     342 + 'Email-Addr',
     343 + 'Email-Message',
    341 344   ]);
    342 345   
    343 346   return (
    skipped 295 lines
  • ■ ■ ■ ■ ■ ■
    opencti-platform/opencti-graphql/src/http/httpPlatform.js
    skipped 147 lines
    148 148   const data = await loadFile(auth, file);
    149 149   res.setHeader('Content-disposition', contentDisposition(data.name, { type: 'inline' }));
    150 150   res.set({ 'Content-Security-Policy': 'sandbox' });
     151 + res.set({ 'Cache-Control': 'no-cache' });
    151 152   if (data.metaData.mimetype === 'text/html') {
    152 153   res.set({ 'Content-type': 'text/html; charset=utf-8' });
    153 154   } else {
    skipped 22 lines
    176 177   const converter = new showdown.Converter();
    177 178   const html = converter.makeHtml(markDownData);
    178 179   res.set({ 'Content-Security-Policy': 'sandbox' });
     180 + res.set({ 'Cache-Control': 'no-cache' });
    179 181   res.send(html);
    180 182   } else {
    181 183   res.send('Unsupported file type');
    skipped 99 lines
Please wait...
Page is in error, reload to recover