eclipse-ee4j / grizzly

Grizzly
https://eclipse-ee4j.github.io/grizzly
Other
148 stars 70 forks source link

ChatApplication.isApplicationRequest() in the chat websocket sample tries an exact match of "/path" against the full request URI #908

Closed glassfishrobot closed 14 years ago

glassfishrobot commented 14 years ago

ChatApplication defines:

public boolean isApplicationRequest(Request request)

{ return request.requestURI().equals("/chat"); }

However, request.requestURI() returns the full path of the request including the context path, so isApplicationRequest() always returns false.

Affected Versions

[1.9.21]

glassfishrobot commented 6 years ago
glassfishrobot commented 14 years ago

@glassfishrobot Commented Reported by @rlubke

glassfishrobot commented 14 years ago

@glassfishrobot Commented @rlubke said: Changes applied (r5359)

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA GRIZZLY-908

glassfishrobot commented 14 years ago

@glassfishrobot Commented Marked as fixed on Tuesday, November 9th 2010, 1:43:03 pm