mirror of
				https://github.com/Qortal/qortal-ui.git
				synced 2025-11-03 22:27:51 +00:00 
			
		
		
		
	Fix voting on poll names with special characters
This commit is contained in:
		@@ -1556,7 +1556,7 @@ class WebBrowser extends LitElement {
 | 
				
			|||||||
					try {
 | 
										try {
 | 
				
			||||||
						pollInfo = await parentEpml.request("apiCall", {
 | 
											pollInfo = await parentEpml.request("apiCall", {
 | 
				
			||||||
							type: "api",
 | 
												type: "api",
 | 
				
			||||||
							url: `/polls/${pollName}`,
 | 
												url: `/polls/${encodeURIComponent(pollName)}`,
 | 
				
			||||||
						})
 | 
											})
 | 
				
			||||||
					} catch (error) {
 | 
										} catch (error) {
 | 
				
			||||||
						const errorMsg = (error && error.message) || 'Poll not found'
 | 
											const errorMsg = (error && error.message) || 'Poll not found'
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user