Fixed public links being created using percent encoded filename and then accessed without it (#3830)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
ac7ead09e2
Коммит
b95bd3d8cc
@@ -34,7 +34,7 @@ export default class GetPublicLinkModal extends React.Component {
|
||||
|
||||
componentDidUpdate(prevProps, prevState) {
|
||||
if (this.state.show && !prevState.show) {
|
||||
AsyncClient.getPublicLink(this.state.filename, this.handlePublicLink);
|
||||
AsyncClient.getPublicLink(decodeURIComponent(this.state.filename), this.handlePublicLink);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user