DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:corsharing

corsharing Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" unknown
  • 2022-07-31 "Igor" yes
  • 2020-07-29 "Hogfather" unknown

plugin Enable/disable CORS (Cross-Origin Resource Sharing).

Last updated on
2022-08-20
Provides
Action
Repository
Source

Tagged with cors

This plugin permits to enable (or disable) CORS http headers to permits web client visiting other website to load some data from your dokuwiki website.

When activated the plugin will add this http header to DokuWiki response:

Access-Control-Allow-Origin *

Installation

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

Examples/Usage

This plugin has no option. You can just enable or disable it in the Extension Manager.

Usage example: I wrote this plugin because I use to host some data (csv, geojson) in some DokuWiki instances. But those data are happy if someone else could use them. So with CORS enabled others can pull data, with Javascript, into web browser which are surfing elsewhere on the Web.

Syntax

No syntax.

Configuration and Settings

No configuration (for the moment ;-) ). Just enable or disable it.

Development

Sure U'll have ideas! Do not hesitate to propose them on the plugin's bugtracker.

Change Log

  • 2022-08-20
    • Make CORS working with media
  • 2016-07-31
    • Initial release

Known Bugs and Issues

Plugin Installation Error

“Header does not match it's checksum” * https://framagit.org/Cyrille37/dokuwiki-plugin-corsharing/-/issues/1cyrille37 2022-08-20 14:12

Issue solved, the download url has changed. — cyrille37 2022-08-20 14:24

Page or media

It works with pages but not with media “/_media/*”.

this issuecyrille37 2022-08-20 14:31

ToDo/Wish List

Sure U'll have ideas! Do not hesitate to propose them on the plugin's bugtracker.

FAQ

Discussion

plugin/corsharing.txt · Last modified: 2022-08-20 17:00 by Cyrille37

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki