You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2019/11/22 15:27:32 UTC

[GitHub] [royale-asjs] mrvx23 edited a comment on issue #580: Fix navigationlink href value always being #

mrvx23 edited a comment on issue #580: Fix navigationlink href value always being #
URL: https://github.com/apache/royale-asjs/pull/580#issuecomment-557575020
 
 
   Right, and also case differences could through it off (e.g. HTTP://). Perhaps the most generic solution is a regex like https://stackoverflow.com/questions/10687099/how-to-test-if-a-url-string-is-absolute-or-relative/19709846#19709846
   
   The only alternative I can think of for string matching is to make the intention of the href usage explicit, i.e. introduce a new field on the data object, publicHref. If set, this would become the public value of a.href. The current value.href would be continued to be used as it is, a de facto internal value only.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services