gitbucket-plugins / gitbucket-h2-backup-plugin

GitBucket H2 Database Backup Plugin
21 stars 7 forks source link

dest parameter can break gitbucket. #19

Closed ktanakaj closed 7 years ago

ktanakaj commented 8 years ago

Hi, I found a problem about dest parameter.

This plugin can output specified path by the dest parameter. However, the plugin can work such as the danger url. http://example.com/gitbucket/database/backup?dest=./gitbucket.conf

I think it is danger problem because:

I think the plugin need Basic Authentication.

Regards, Koichi Tanaka

ktanakaj commented 8 years ago

I use these latest versions.

McFoggy commented 7 years ago

@ktanakaj see 1.4.0 & optional security. It is a temporary & optional implementation that should answer your need and keep existing behavior for those who do not require this security mechanism.