Changeset 3911

Show
Ignore:
Timestamp:
12/17/08 20:52:50 (5 years ago)
Author:
Cyrus
Message:

Fixed REQUEST_URI

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • luci/trunk/libs/web/luasrc/dispatcher.lua

    r3908 r3911  
    204204                return build_url() 
    205205            elseif key == "REQUEST_URI" then 
    206                 return build_url(ctx.requested) 
     206                return build_url(unpack(ctx.requested.path)) 
    207207            else 
    208208                return rawget(table, key) or _G[key]