Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bee1ae7

Browse files
committed
bugfix #159
1 parent 97ba556 commit bee1ae7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

model/openproject.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
package model
88

99
import (
10+
"net/url"
1011
"time"
1112

1213
"xorm.io/xorm"
@@ -78,3 +79,7 @@ func (this *OpenProject) AfterSet(name string, cell xorm.Cell) {
7879
this.Logo = WebsiteSetting.ProjectDfLogo
7980
}
8081
}
82+
83+
func (this *OpenProject) AfterLoad() {
84+
this.Uri = url.QueryEscape(this.Uri)
85+
}

0 commit comments

Comments
 (0)