EuMVC:Dealing with favicon request
- Posted by euphoric (admin) Apr 06, 2022
- 1045 views
I'm getting an error using Eu-MVC:
c:\eu_include\mvc\include\mvc\app.e:604 in function handle_request()
subscript value 5 is out of bounds, reading from a sequence of length 4 - in assignment to 'func_id'
path_info = {47'/',102'f',97'a',118'v',105'i',99'c',111'o',110'n',46'.',
105'i',99'c',111'o'}
request_method = {71'G',69'E',84'T'}
query_string = {}
exit_code = 0
route_found = 0
default_route = 0
response = {}
patterns = {
{47'/',115's',117'u',98'b',99'c',97'a',108'l',99'c'},
{47'/',115's',117'u',98'b',99'c',97'a',108'l',99'c',47'/',
105'i',110'n',116't',101'e',103'g',101'e',114'r',62'>',47'/',60'<',97'a',
117'u',116't',104'h'},
{94'^',47'/',46'.',43'+',36'$'},
{47'/'}
}
candidates = {
{94'^',47'/',46'.',43'+',36'$'}
}
i = 4
pattern = <no value>
i = 1
pattern = {94'^',47'/',46'.',43'+',36'$'}
path = {42'*'}
name = {117'u',110'n',107'k',110'n',111'o',119'w',110'n'}
vars = {}
methods = 21
func_id = <no value>
matches = <no value>
request = <no value>
pattern = <no value>
path = <no value>
name = <no value>
vars = <no value>
methods = <no value>
func_id = <no value>
request = <no value>
What's the fix for this?

