|  | @@ -11,6 +11,7 @@ import (
 | 
	
		
			
				|  |  |  	"github.com/xtls/xray-core/common/net"
 | 
	
		
			
				|  |  |  	"github.com/xtls/xray-core/common/protocol"
 | 
	
		
			
				|  |  |  	"github.com/xtls/xray-core/common/serial"
 | 
	
		
			
				|  |  | +	"github.com/xtls/xray-core/common/uuid"
 | 
	
		
			
				|  |  |  	"github.com/xtls/xray-core/proxy/vless"
 | 
	
		
			
				|  |  |  	"github.com/xtls/xray-core/proxy/vless/inbound"
 | 
	
		
			
				|  |  |  	"github.com/xtls/xray-core/proxy/vless/outbound"
 | 
	
	
		
			
				|  | @@ -45,6 +46,12 @@ func (c *VLessInboundConfig) Build() (proto.Message, error) {
 | 
	
		
			
				|  |  |  			return nil, newError(`VLESS clients: invalid user`).Base(err)
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +		u, err := uuid.ParseString(account.Id)
 | 
	
		
			
				|  |  | +		if err != nil {
 | 
	
		
			
				|  |  | +			return nil, err
 | 
	
		
			
				|  |  | +		}
 | 
	
		
			
				|  |  | +		account.Id = u.String()
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  		switch account.Flow {
 | 
	
		
			
				|  |  |  		case "", "xtls-rprx-origin", "xtls-rprx-direct":
 | 
	
		
			
				|  |  |  		case "xtls-rprx-splice":
 | 
	
	
		
			
				|  | @@ -167,6 +174,12 @@ func (c *VLessOutboundConfig) Build() (proto.Message, error) {
 | 
	
		
			
				|  |  |  				return nil, newError(`VLESS users: invalid user`).Base(err)
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +			u, err := uuid.ParseString(account.Id)
 | 
	
		
			
				|  |  | +			if err != nil {
 | 
	
		
			
				|  |  | +				return nil, err
 | 
	
		
			
				|  |  | +			}
 | 
	
		
			
				|  |  | +			account.Id = u.String()
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  			switch account.Flow {
 | 
	
		
			
				|  |  |  			case "", "xtls-rprx-origin", "xtls-rprx-origin-udp443", "xtls-rprx-direct", "xtls-rprx-direct-udp443":
 | 
	
		
			
				|  |  |  			case "xtls-rprx-splice", "xtls-rprx-splice-udp443":
 |