File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ export default class Auth {
304304 return
305305 }
306306
307- const from = this . options . fullPathRedirect ? this . ctx . route . path : this . ctx . route . fullPath
307+ const from = this . options . fullPathRedirect ? this . ctx . route . fullPath : this . ctx . route . path
308308
309309 let to = this . options . redirect [ name ]
310310 if ( ! to ) {
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ export const isSet = o => !isUnset(o)
44export const isSameURL = ( a , b ) => a . split ( '?' ) [ 0 ] === b . split ( '?' ) [ 0 ]
55
66export const isRelativeURL = u =>
7- u && u . length && / ^ \/ [ a - z A - Z 0 - 9 @ \- % _ ~ ] [ / a - z A - Z 0 - 9 @ \- % _ ~ ] { 1 , 200 } $ / . test ( u )
7+ u && u . length && / ^ \/ [ a - z A - Z 0 - 9 @ \- % _ ~ ] [ / a - z A - Z 0 - 9 @ \- % _ ~ ] * [ \? ] ? ( [ ^ \# ] * ) # ? ( [ ^ \# ] * ) $ / . test ( u )
88
99export const parseQuery = queryString => {
1010 const query = { }
You can’t perform that action at this time.
0 commit comments