GithubHelp home page GithubHelp logo

gearsdigital / reporter-for-kirby-middleware Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 244 KB

Simple middleware to handle request from reporter-for-kirby-docs playground.

Home Page: https://gearsdigital.github.io/reporter-for-kirby-docs/

PHP 100.00%

reporter-for-kirby-middleware's People

Contributors

gearsdigital avatar

Watchers

 avatar  avatar  avatar

reporter-for-kirby-middleware's Issues

Obfuscate user input before submit to API

We need to find a way to sanitze and obfuscate user input before we sent data to the Github API.

Context

Reporter for Kirby provides a playground feature where a user can fiddle arround and check the basic functionality. The example performs a real API request and opens an issue in a public repository.

A user might enter hatespeech or try to break something and we really don't want to have this on te above mentioned repo.

Approach

On approach could be to replace all text by blind text or (if want to go fancy) with real facts of I don't know what, so a user might learn something new ๐Ÿ˜‰

Input

### Headline

A list of really bad things, no one should ever say and directly opens a door to **hell** for you.

Output

### Losabim

Lorem ipsum dolor sit amet, conse tetur sad ipscing elitr, sed eos **nonumy** accu justo.

The goal should be to keep the intend appeareance of the text so the user gets an idea of how it would look like.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.