atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nixon Rodrigues <>
Subject Review Request 61103: ATLAS-1985 :- Fix URLEncoding while redirecting to Active instance in HA.
Date Tue, 25 Jul 2017 11:30:29 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for atlas, Apoorv Naik, Ashutosh Kelkar, Madhan Neethiraj, and Sarath Subramanian.

Repository: atlas


This patch provide fix for url-encoding in Activeserver Filter where url was encoded wrongly
with HtmlQuoting.quoteHtmlChars method which is primarily meant for htmltext encoding.

Instead of using HtmlQuoting.quoteHtmlChars method used URLEncode.encode method to encode
the URL.


  webapp/src/main/java/org/apache/atlas/web/filters/ 29d829f 
  webapp/src/test/java/org/apache/atlas/web/filters/ 3396072 



Tested api redirected from passive to active
eg  /api/atlas/discovery/search/fulltext?limit=100&query=hive_table API is redirection
to active with
    /api/atlas/discovery/search/fulltext?limit%3D100%26query%3Dhive_table where querystring
is encoded.
Existing UT and IT's passing.
Added new UT in ActiveServerFilterTest


Nixon Rodrigues

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message