Fix creating new file via web editor
Fix creating new file via web editor

Signed-off-by: Dmitriy Zaporozhets <be23d75b156792e5acab51b196a2deb155d35d6a@gmail.com>

Telekom-PD/gitlabhq,tempbottle/gitlabhq,NARKOZ/gitlabhq,kemenaran/gitlabhq,stoplightio/gitlabhq,rhels/gitlabhq,Soullivaneuh/gitlabhq,kitech/gitlabhq,Kambda/mobbr-gitlabhq,vjustov/gitlabhq,Devin001/gitlabhq,gorgee/gitlabhq,mavimo/gitlabhq,ikappas/gitlabhq,michaKFromParis/gitlabhqold,NKMR6194/gitlabhq,ferdinandrosario/gitlabhq,yulchitaj/TEST3,LUMC/gitlabhq,mathstuf/gitlabhq,shinexiao/gitlabhq,aaronsnyder/gitlabhq,duduribeiro/gitlabhq,NKMR6194/gitlabhq,darkrasid/gitlabhq,johnmyqin/gitlabhq,Kambda/Mobbr,DanielZhangQingLong/gitlabhq,liyakun/gitlabhq,allistera/gitlabhq,Datacom/gitlabhq,jirutka/gitlabhq,childbamboo/gitlabhq,jrjang/gitlab-ce,phinfonet/mobbr-gitlabhq,Burick/gitlabhq,ikappas/gitlabhq,williamherry/gitlabhq,mrb/gitlabhq,since2014/gitlabhq,NuLL3rr0r/gitlabhq,DanielZhangQingLong/gitlabhq,tk23/gitlabhq,lvfeng1130/gitlabhq,dwrensha/gitlabhq,flashbuckets/gitlabhq,mrb/gitlabhq,louahola/gitlabhq,ZeoAlliance/gitlabhq,SkyWei/gitlabhq,pjknkda/gitlabhq,aaronsnyder/gitlabhq,jvanbaarsen/gitlabhq,hzy001/gitlabhq,daiyu/gitlab-zh,cui-liqiang/gitlab-ce,yfaizal/gitlabhq,bozaro/gitlabhq,per-garden/gitlabhq,per-garden/gitlabhq,chenrui2014/gitlabhq,dreampet/gitlab,SkyWei/gitlabhq,yonglehou/gitlabhq,hzy001/gitlabhq,SVArago/gitlabhq,shinexiao/gitlabhq,sekcheong/gitlabhq,revaret/gitlabhq,LUMC/gitlabhq,screenpages/gitlabhq,ngpestelos/gitlabhq,icedwater/gitlabhq,theonlydoo/gitlabhq,H3Chief/gitlabhq,ksoichiro/gitlabhq,DanielZhangQingLong/gitlabhq,mrb/gitlabhq,lvfeng1130/gitlabhq,sue445/gitlabhq,tk23/gitlabhq,michaKFromParis/sparkslab,k4zzk/gitlabhq,since2014/gitlabhq,mente/gitlabhq,ksoichiro/gitlabhq,it33/gitlabhq,NARKOZ/gitlabhq,atomaka/gitlabhq,Kambda/Mobbr,michaKFromParis/gitlabhqold,NuLL3rr0r/gitlabhq,mavimo/gitlabhq,OlegGirko/gitlab-ce,ibiart/gitlabhq,hq804116393/gitlabhq,nguyen-tien-mulodo/gitlabhq,tempbottle/gitlabhq,whluwit/gitlabhq,theodi/gitlabhq,bozaro/gitlabhq,stanhu/gitlabhq,Tyrael/gitlabhq,initiummedia/gitlabhq,mr-dxdy/gitlabhq,dvrylc/gitlabhq,initiummedia/gitlabhq,duduribeiro/gitlabhq,NKMR6194/gitlabhq,jaepyoung/gitlabhq,sakishum/gitlabhq,fscherwi/gitlabhq,yuyue2013/ss,Tyrael/gitlabhq,tim-hoff/gitlabhq,ordiychen/gitlabhq,Burick/gitlabhq,yama07/gitlabhq,123Haynes/gitlabhq,OlegGirko/gitlab-ce,SVArago/gitlabhq,rhels/gitlabhq,youprofit/gitlabhq,fpgentil/gitlabhq,zBMNForks/gitlabhq,mavimo/gitlabhq,mmkassem/gitlabhq,ibiart/gitlabhq,sideci-sample/sideci-sample-gitlabhq,sakishum/gitlabhq,atomaka/gitlabhq,cinderblock/gitlabhq,sue445/gitlabhq,ibiart/gitlabhq,rebecamendez/gitlabhq,chadyred/gitlabhq,kemenaran/gitlabhq,SkyWei/gitlabhq,theonlydoo/gitlabhq,johnmyqin/gitlabhq,it33/gitlabhq,tempbottle/gitlabhq,sue445/gitlabhq,kitech/gitlabhq,mmkassem/gitlabhq,ngpestelos/gitlabhq,yama07/gitlabhq,koreamic/gitlabhq,koreamic/gitlabhq,mrb/gitlabhq,folpindo/gitlabhq,hzy001/gitlabhq,windymid/test2,fgbreel/gitlabhq,luzhongyang/gitlabhq,michaKFromParis/gitlabhq,t-zuehlsdorff/gitlabhq,manfer/gitlabhq,fendoudeqingchunhh/gitlabhq,johnmyqin/gitlabhq,stellamiranda/mobbr-gitlabhq,SVArago/gitlabhq,yuyue2013/ss,sakishum/gitlabhq,larryli/gitlabhq,ayufan/gitlabhq,johnmyqin/gitlabhq,hacsoc/gitlabhq,Razer6/gitlabhq,szechyjs/gitlabhq,martinma4/gitlabhq,joalmeid/gitlabhq,sakishum/gitlabhq,dplarson/gitlabhq,NuLL3rr0r/gitlabhq,larryli/gitlabhq,per-garden/gitlabhq,it33/gitlabhq,xuvw/gitlabhq,nmav/gitlabhq,htve/GitlabForChinese,yatish27/gitlabhq,jrjang/gitlab-ce,copystudy/gitlabhq,ayufan/gitlabhq,bigsurge/gitlabhq,OtkurBiz/gitlabhq,stellamiranda/mobbr-gitlabhq,dwrensha/gitlabhq,openwide-java/gitlabhq,axilleas/gitlabhq,since2014/gitlabhq,martinma4/gitlabhq,fendoudeqingchunhh/gitlabhq,julianengel/gitlabhq,martinma4/gitlabhq,rebecamendez/gitlabhq,NARKOZ/gitlabhq,xuvw/gitlabhq,tempbottle/gitlabhq,darkrasid/gitlabhq,michaKFromParis/sparkslab,stanhu/gitlabhq,dvrylc/gitlabhq,ttasanen/gitlabhq,nguyen-tien-mulodo/gitlabhq,chenrui2014/gitlabhq,cui-liqiang/gitlab-ce,revaret/gitlabhq,theonlydoo/gitlabhq,dreampet/gitlab,mathstuf/gitlabhq,cncodog/gitlab,dukex/gitlabhq,LUMC/gitlabhq,theodi/gitlabhq,LUMC/gitlabhq,zrbsprite/gitlabhq,szechyjs/gitlabhq,htve/GitlabForChinese,H3Chief/gitlabhq,8thcolor/testing-public-gitlabhq,OlegGirko/gitlab-ce,ayufan/gitlabhq,dreampet/gitlab,Kambda/mobbr-gitlabhq,bigsurge/gitlabhq,TheWatcher/gitlabhq,allysonbarros/gitlabhq,bigsurge/gitlabhq,WSDC-NITWarangal/gitlabhq,sonalkr132/gitlabhq,pjknkda/gitlabhq,theonlydoo/gitlabhq,TheWatcher/gitlabhq,aaronsnyder/gitlabhq,Telekom-PD/gitlabhq,daiyu/gitlab-zh,ferdinandrosario/gitlabhq,windymid/test2,wangcan2014/gitlabhq,k4zzk/gitlabhq,martijnvermaat/gitlabhq,LytayTOUCH/gitlabhq,iiet/iiet-git,koreamic/gitlabhq,manfer/gitlabhq,pulkit21/gitlabhq,liyakun/gitlabhq,jirutka/gitlabhq,fpgentil/gitlabhq,cui-liqiang/gitlab-ce,nmav/gitlabhq,Exeia/gitlabhq,childbamboo/gitlabhq,Burick/gitlabhq,ferdinandrosario/gitlabhq,fantasywind/gitlabhq,nmav/gitlabhq,aaronsnyder/gitlabhq,revaret/gitlabhq,adaiguoguo/gitlab_globalserarch,tim-hoff/gitlabhq,youprofit/gitlabhq,louahola/gitlabhq,nguyen-tien-mulodo/gitlabhq,mathstuf/gitlabhq,sideci-sample/sideci-sample-gitlabhq,daiyu/gitlab-zh,Soullivaneuh/gitlabhq,daiyu/gitlab-zh,folpindo/gitlabhq,julianengel/gitlabhq,rebecamendez/gitlabhq,iiet/iiet-git,copystudy/gitlabhq,stanhu/gitlabhq,martijnvermaat/gitlabhq,Kambda/Mobbr,szechyjs/gitlabhq,youprofit/gitlabhq,phinfonet/mobbr-gitlabhq,szechyjs/gitlabhq,sekcheong/gitlabhq,screenpages/gitlabhq,michaKFromParis/sparkslab,fendoudeqingchunhh/gitlabhq,kemenaran/gitlabhq,theodi/gitlabhq,MauriceMohlek/gitlabhq,H3Chief/gitlabhq,zBMNForks/gitlabhq,DanielZhangQingLong/gitlabhq,sideci-sample/sideci-sample-gitlabhq,windymid/test2,mr-dxdy/gitlabhq,ayufan/gitlabhq,SkyWei/gitlabhq,hq804116393/gitlabhq,sonalkr132/gitlabhq,fgbreel/gitlabhq,jaepyoung/gitlabhq,kitech/gitlabhq,axilleas/gitlabhq,wangcan2014/gitlabhq,Devin001/gitlabhq,larryli/gitlabhq,jirutka/gitlabhq,dplarson/gitlabhq,bbodenmiller/gitlabhq,luzhongyang/gitlabhq,fpgentil/gitlabhq,flashbuckets/gitlabhq,cncodog/gitlab,zrbsprite/gitlabhq,whluwit/gitlabhq,copystudy/gitlabhq,ttasanen/gitlabhq,axilleas/gitlabhq,chenrui2014/gitlabhq,mathstuf/gitlabhq,bozaro/gitlabhq,htve/GitlabForChinese,Razer6/gitlabhq,stoplightio/gitlabhq,jrjang/gitlab-ce,fgbreel/gitlabhq,zBMNForks/gitlabhq,jirutka/gitlabhq,hq804116393/gitlabhq,jrjang/gitlabhq,Exeia/gitlabhq,NARKOZ/gitlabhq,bozaro/gitlabhq,rhels/gitlabhq,openwide-java/gitlabhq,salipro4ever/gitlabhq,yatish27/gitlabhq,michaKFromParis/gitlabhqold,123Haynes/gitlabhq,michaKFromParis/sparkslab,duduribeiro/gitlabhq,copystudy/gitlabhq,dvrylc/gitlabhq,LytayTOUCH/gitlabhq,mente/gitlabhq,Exeia/gitlabhq,martijnvermaat/gitlabhq,theodi/gitlabhq,phinfonet/mobbr-gitlabhq,ferdinandrosario/gitlabhq,chenrui2014/gitlabhq,joalmeid/gitlabhq,rumpelsepp/gitlabhq,williamherry/gitlabhq,Exeia/gitlabhq,yonglehou/gitlabhq,123Haynes/gitlabhq,Tyrael/gitlabhq,pulkit21/gitlabhq,fearenales/gitlabhq,dukex/gitlabhq,htve/GitlabForChinese,yonglehou/gitlabhq,8thcolor/testing-public-gitlabhq,it33/gitlabhq,yfaizal/gitlabhq,gopeter/gitlabhq,iiet/iiet-git,icedwater/gitlabhq,delkyd/gitlabhq,screenpages/gitlabhq,dplarson/gitlabhq,ttasanen/gitlabhq,stanhu/gitlabhq,initiummedia/gitlabhq,mavimo/gitlabhq,yatish27/gitlabhq,kitech/gitlabhq,openwide-java/gitlabhq,t-zuehlsdorff/gitlabhq,yulchitaj/TEST3,WSDC-NITWarangal/gitlabhq,mente/gitlabhq,Datacom/gitlabhq,whluwit/gitlabhq,ksoichiro/gitlabhq,childbamboo/gitlabhq,folpindo/gitlabhq,yfaizal/gitlabhq,fendoudeqingchunhh/gitlabhq,chadyred/gitlabhq,mr-dxdy/gitlabhq,axilleas/gitlabhq,pulkit21/gitlabhq,fscherwi/gitlabhq,Telekom-PD/gitlabhq,nguyen-tien-mulodo/gitlabhq,icedwater/gitlabhq,ksoichiro/gitlabhq,bbodenmiller/gitlabhq,vjustov/gitlabhq,OtkurBiz/gitlabhq,iiet/iiet-git,manfer/gitlabhq,liyakun/gitlabhq,williamherry/gitlabhq,dreampet/gitlab,k4zzk/gitlabhq,gopeter/gitlabhq,revaret/gitlabhq,Devin001/gitlabhq,hq804116393/gitlabhq,jaepyoung/gitlabhq,koreamic/gitlabhq,fpgentil/gitlabhq,yatish27/gitlabhq,fearenales/gitlabhq,whluwit/gitlabhq,Kambda/mobbr-gitlabhq,yulchitaj/TEST3,martijnvermaat/gitlabhq,LytayTOUCH/gitlabhq,eliasp/gitlabhq,adaiguoguo/gitlab_globalserarch,dukex/gitlabhq,dukex/gitlabhq,folpindo/gitlabhq,dwrensha/gitlabhq,sonalkr132/gitlabhq,allysonbarros/gitlabhq,julianengel/gitlabhq,Razer6/gitlabhq,LytayTOUCH/gitlabhq,yonglehou/gitlabhq,k4zzk/gitlabhq,vjustov/gitlabhq,ngpestelos/gitlabhq,luzhongyang/gitlabhq,fscherwi/gitlabhq,MauriceMohlek/gitlabhq,pjknkda/gitlabhq,eliasp/gitlabhq,mmkassem/gitlabhq,allistera/gitlabhq,mr-dxdy/gitlabhq,ordiychen/gitlabhq,WSDC-NITWarangal/gitlabhq,martinma4/gitlabhq,shinexiao/gitlabhq,sekcheong/gitlabhq,bbodenmiller/gitlabhq,TheWatcher/gitlabhq,jrjang/gitlabhq,t-zuehlsdorff/gitlabhq,delkyd/gitlabhq,sue445/gitlabhq,darkrasid/gitlabhq,cncodog/gitlab,NKMR6194/gitlabhq,julianengel/gitlabhq,ZeoAlliance/gitlabhq,yama07/gitlabhq,TheWatcher/gitlabhq,jrjang/gitlab-ce,dvrylc/gitlabhq,ngpestelos/gitlabhq,chadyred/gitlabhq,delkyd/gitlabhq,stoplightio/gitlabhq,nmav/gitlabhq,OlegGirko/gitlab-ce,fearenales/gitlabhq,childbamboo/gitlabhq,flashbuckets/gitlabhq,salipro4ever/gitlabhq,fantasywind/gitlabhq,ikappas/gitlabhq,manfer/gitlabhq,cui-liqiang/gitlab-ce,youprofit/gitlabhq,yuyue2013/ss,ordiychen/gitlabhq,tim-hoff/gitlabhq,OtkurBiz/gitlabhq,liyakun/gitlabhq,rumpelsepp/gitlabhq,jaepyoung/gitlabhq,initiummedia/gitlabhq,gorgee/gitlabhq,joalmeid/gitlabhq,ikappas/gitlabhq,eliasp/gitlabhq,xuvw/gitlabhq,jvanbaarsen/gitlabhq,Soullivaneuh/gitlabhq,kemenaran/gitlabhq,chadyred/gitlabhq,tim-hoff/gitlabhq,rumpelsepp/gitlabhq,yulchitaj/TEST3,rumpelsepp/gitlabhq,sekcheong/gitlabhq,wangcan2014/gitlabhq,allistera/gitlabhq,wangcan2014/gitlabhq,gorgee/gitlabhq,cinderblock/gitlabhq,SVArago/gitlabhq,rhels/gitlabhq,joalmeid/gitlabhq,michaKFromParis/gitlabhq,hacsoc/gitlabhq,gorgee/gitlabhq,fantasywind/gitlabhq,zrbsprite/gitlabhq,dwrensha/gitlabhq,Datacom/gitlabhq,stellamiranda/mobbr-gitlabhq,williamherry/gitlabhq,larryli/gitlabhq,dplarson/gitlabhq,openwide-java/gitlabhq,eliasp/gitlabhq,adaiguoguo/gitlab_globalserarch,atomaka/gitlabhq,hacsoc/gitlabhq,allysonbarros/gitlabhq,MauriceMohlek/gitlabhq,MauriceMohlek/gitlabhq,salipro4ever/gitlabhq,Burick/gitlabhq,ZeoAlliance/gitlabhq,WSDC-NITWarangal/gitlabhq,ordiychen/gitlabhq,gopeter/gitlabhq,hzy001/gitlabhq,mmkassem/gitlabhq,pjknkda/gitlabhq,darkrasid/gitlabhq,michaKFromParis/gitlabhq,jvanbaarsen/gitlabhq,fantasywind/gitlabhq,cinderblock/gitlabhq,yfaizal/gitlabhq,fscherwi/gitlabhq,louahola/gitlabhq,stoplightio/gitlabhq,michaKFromParis/gitlabhq,bbodenmiller/gitlabhq,lvfeng1130/gitlabhq,gopeter/gitlabhq,rebecamendez/gitlabhq,adaiguoguo/gitlab_globalserarch,zBMNForks/gitlabhq,zrbsprite/gitlabhq,tk23/gitlabhq,fearenales/gitlabhq,jrjang/gitlabhq,ttasanen/gitlabhq,Tyrael/gitlabhq,lvfeng1130/gitlabhq,delkyd/gitlabhq,since2014/gitlabhq,mente/gitlabhq,Razer6/gitlabhq,yuyue2013/ss,fgbreel/gitlabhq,yama07/gitlabhq,Soullivaneuh/gitlabhq,shinexiao/gitlabhq,OtkurBiz/gitlabhq,allysonbarros/gitlabhq,8thcolor/testing-public-gitlabhq,luzhongyang/gitlabhq,flashbuckets/gitlabhq,tk23/gitlabhq,cncodog/gitlab,jvanbaarsen/gitlabhq,H3Chief/gitlabhq,louahola/gitlabhq,bigsurge/gitlabhq,hacsoc/gitlabhq,cinderblock/gitlabhq,allistera/gitlabhq,vjustov/gitlabhq,Telekom-PD/gitlabhq,icedwater/gitlabhq,Devin001/gitlabhq,sonalkr132/gitlabhq,Datacom/gitlabhq,jrjang/gitlabhq,salipro4ever/gitlabhq,michaKFromParis/gitlabhqold,per-garden/gitlabhq,screenpages/gitlabhq,t-zuehlsdorff/gitlabhq,duduribeiro/gitlabhq,pulkit21/gitlabhq