mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	Merge pull request #257 from Unleash/fix/encode-tag-values
fix: encode tag value
This commit is contained in:
		
						commit
						d8aad549bb
					
				@ -14,7 +14,7 @@ function tagFeature(featureToggle, tag) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function untagFeature(featureToggle, tag) {
 | 
			
		||||
    return fetch(`${URI}/${featureToggle}/tags/${tag.type}/${tag.value}`, {
 | 
			
		||||
    return fetch(`${URI}/${featureToggle}/tags/${tag.type}/${encodeURIComponent(tag.value)}`, {
 | 
			
		||||
        method: 'DELETE',
 | 
			
		||||
        headers,
 | 
			
		||||
        credentials: 'include',
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user